CCNP / BCMSN Tutorial: BPDU Skew Detection

Okay, I know what you're thinking! "What the heck is a BPDU Skew, and why do I want to detect it?" There is no "BPDU Skew" -- what we're trying to detect are BPDUs that are not being relayed throughout the network as quickly as they should be.

The root bridge is the only switch that's sending original BPDUs; the non-root switches relay that BPDU down the STP tree. This should happen quickly thorughout the network, since the root bridge will be sending a BPDU every two seconds by default ("hello time"), and the switches should relay the BDPUs fast enough so every switch is seeing a BPDU every two seconds.

That's in a perfect world, though, and there are plenty of imperfect networks out there! You may have a busy switch that can't spare the CPU to relay the BDPU quickly, or a BPDU may just simply be lost in transmission. That two-second hello time value doesn't give the switches much leeway, but we don't want the STP topology recalculated unnecessarily either.

BDPU Skew Detection is strictly a notification feature. Skew Detection will not take action to prevent STP recalculation when BDPUs are not being relayed quickly enough by the switches, but it will send a syslog message informing the network administrator of the problem. The amount of time between when the BDPU should have arrived and when it did arrive is referred to as skew time or BPDU latency.

A busy CPU could quickly find itself overwhelmed if it had to send a syslog message for every BPDU delivery that's skewed. The syslog messages will be limited to one every 60 seconds, unless the skew time is at a critical level. In that case, the syslog message will be sent immediately with no one-per-minute limit. By default, BPDU Skew Detection defines critical as any value greater than 1/2 of the MaxAge value, making the default critical skew time anything over 10 seconds.

Chris Bryant
CCIE #12933
www.thebryantadvantage.com

Comments

Popular posts from this blog