
iii
Configuring the current device as the root bridge of a specific spanning tree ·········································76
Configuring the current device as a secondary root bridge of a specific spanning tree···························77
Configuring the device priority ·························································································································77
Configuring the maximum hops of an MST region···························································································77
Configuring the network diameter of a switched network ················································································78
Setting spanning tree timers ····························································································································78
Configuration restrictions and guidelines ·································································································79
Configuration procedure···························································································································79
Setting the timeout factor ·································································································································80
Setting the BPDU transmission rate ················································································································80
Configuring edge ports·····································································································································81
Configuration restrictions and guidelines ·································································································81
Configuration procedure···························································································································81
Configuring path costs of ports ························································································································81
Specifying a standard for the device to use when it calculates the default path cost ······························81
Configuring path costs of ports ················································································································84
Configuration example ·····························································································································84
Configuring the port priority······························································································································85
Configuring the port link type ···························································································································85
Configuration restrictions and guidelines ·································································································85
Configuration procedure···························································································································86
Configuring the mode a port uses to recognize and send MSTP packets ·······················································86
Enabling outputting port state transition information························································································86
Enabling the spanning tree feature ··················································································································87
Enabling the spanning tree feature in STP/RSTP/MSTP mode·······························································87
Enabling the spanning tree feature in PVST mode ··················································································87
Performing mCheck ·········································································································································88
Performing mCheck globally ····················································································································88
Performing mCheck in interface view·······································································································88
Configuring Digest Snooping ···························································································································88
Configuration restrictions and guidelines ·································································································89
Configuration procedure···························································································································89
Digest Snooping configuration example···································································································90
Configuring No Agreement Check ···················································································································90
Configuration prerequisites ······················································································································92
Configuration procedure···························································································································92
No Agreement Check configuration example···························································································92
Configuring TC Snooping·································································································································92
Configuration restrictions and guidelines ·································································································93
Configuration procedure···························································································································93
Configuring protection features························································································································94
Configuring BPDU guard··························································································································94
Enabling root guard··································································································································95
Enabling loop guard ·································································································································95
Configuring port role restriction ················································································································96
Configuring TC-BPDU transmission restriction ························································································96
Enabling TC-BPDU guard ························································································································97
Enabling BPDU drop ································································································································97
Enabling SNMP notifications for new-root election and topology change events ············································98
Displaying and maintaining the spanning tree ·································································································98
Spanning tree configuration example ··············································································································99
MSTP configuration example ···················································································································99
PVST configuration example··················································································································103
Configuring loop detection ·········································································· 107
Overview ························································································································································107
Loop detection mechanism ····················································································································107
Loop detection interval ···························································································································108
Loop protection actions ··························································································································108
Port status auto recovery ·······················································································································108
Loop detection configuration task list·············································································································109
Enabling loop detection··································································································································109