and why only if there is an additional designated port on the bridge in question?
and why only if there is an additional designated port on the bridge in question? From that link above: This means that the bridge is not standalone. So no need to send if it doesn't have at least one remaining active designated port.
Cisco wrote: Accelerated Aging to Retain Connectivity The default for aging dynamic addresses is 5 minutes, the default setting of the mac-address-table aging-time global configuration command. However, an STP reconfiguration can cause many station locations to change. Because these stations could be unreachable for 5 minutes or more during a reconfiguration, the address-aging time is accelerated so that station addresses can be dropped from the address table and then relearned. The accelerated aging is the same as the forward-delay parameter value (spanning-tree vlan vlan-id forward-time seconds global configuration command) when STP reconfigures.
so under what condition is the tcn bpdu sent for a forwarding transition benifical ?
bridge will originate a tcn bpdu in two conditions 1) It transitions a port into the forwarding state and it has at least one designated port. 2) It transitions a port from learning or forwarding to blocking state.
Webmaster wrote: An example is in this section:www.cisco.com/warp/public/473/17.html#topic1 Imagine the link coming back up between B2 and B3, STP converges, and traffic from A to B 'should' go through B1, B2, B3, and then B4 again, as it originally did. (probably be a 10 mb between b1 and b4 and gb links between the others , or manually configured costs..) However, B's mac address would remain in B1's forwarding table, pointing to the interface for the link between B1 and B4 (which is now blocking) for 5 minutes tops if it wouldn't be aged by the TCN notification. So from the two conditions in your first post: bridge will originate a tcn bpdu in two conditions 1) It transitions a port into the forwarding state and it has at least one designated port. 2) It transitions a port from learning or forwarding to blocking state. 1) can cause 2)
EdTheLad wrote: So my question isnt about how it works but more about why its implemented like this.Knowing these intragite details help me to remember afew months from now.
EdTheLad wrote: If a new switch is connected to the existing network i.e. a port on an existing switch goes into the forwarding state i really cant see why a tcn bpdu is needed as this new switch doesnt conflict with the entries already known by the network.
sexion8 wrote: EdTheLad wrote: So my question isnt about how it works but more about why its implemented like this.Knowing these intragite details help me to remember afew months from now. I look at it as a method to maintain topology states "briefly" without having to go through the entire process. An affected machine sends the root bridge information only relevant to the affected ports... Since only the root bridge can send out topological updates, tcn's keep telling root "something is wrong... something is wrong" so the root can propagate this information to others before the others get into issues blocking, learning, etc., think of it as a pre-emptive strike if you will. Look at what would happen without a tcn... (maybe it would make it clearer) maxAge = 20 ... listeningMode = 15 ... forwardDelay = 20 20+15+20 = 55 seconds from blocking to forwarding... Should the network see a topological change... With a tcn, (pre-emptive strike) the root notifies everyone so they won't have to recalculate STP...
mikej412 wrote: host -- sw1 -- sw2 -- sw3 -- sw4 -- sw5 -- sw6ROOT -- sw7 unplug the link(s) between sw2 and sw3 and plug it into sw7..... sw4 & sw5 had the host mac in its mac address table going out the "downstream designated ports." Switch 3 knows it lost the host macs on the old designated part.... but what about the other switches? When you plug sw2 into sw7, you want all the switches to figure out all over again where all the host macs are. From a programmer perspective -- the hosts are playing musical chairs. Some of the hosts are still in their same old chairs (and are cheating by not getting up), but some hosts traded chairs or don't have a chair now -- so you have to figure out again where everyone is.
mikej412 wrote: EdTheLad wrote: If a new switch is connected to the existing network i.e. a port on an existing switch goes into the forwarding state i really cant see why a tcn bpdu is needed as this new switch doesnt conflict with the entries already known by the network. But how does it know its a new switch? host -- sw1 -- sw2 -- sw3 -- sw4 -- sw5 -- sw6ROOT -- sw7 unplug the link(s) between sw2 and sw3 and plug it into sw7..... sw4 & sw5 had the host mac in its mac address table going out the "downstream designated ports." Switch 3 knows it lost the host macs on the old designated part.... but what about the other switches? When you plug sw2 into sw7, you want all the switches to figure out all over again where all the host macs are. From a programmer perspective -- the hosts are playing musical chairs. Some of the hosts are still in their same old chairs (and are cheating by not getting up), but some hosts traded chairs or don't have a chair now -- so you have to figure out again where everyone is.