ii
Enabling outputting port state transition information ········································································· 41
Enabling the spanning tree feature ······························································································ 41
Restrictions and guidelines ·································································································· 41
Enabling the spanning tree feature in STP/RSTP/MSTP mode ···················································· 41
Enabling the spanning tree feature in PVST mode ···································································· 42
Performing mCheck ·················································································································· 42
About mCheck ·················································································································· 42
Restrictions and guidelines ·································································································· 42
Performing mCheck globally ································································································ 43
Performing mCheck in interface view ····················································································· 43
Disabling inconsistent PVID protection ························································································· 43
Configuring Digest Snooping ······································································································ 43
Configuring No Agreement Check ······························································································· 45
Configuring TC Snooping ··········································································································· 46
Configuring protection features ··································································································· 47
Spanning tree protection tasks at a glance ·············································································· 47
Configuring BPDU guard ····································································································· 48
Enabling root guard ··········································································································· 49
Enabling loop guard ··········································································································· 49
Configuring port role restriction ····························································································· 50
Configuring TC-BPDU transmission restriction ········································································· 51
Enabling TC-BPDU guard ··································································································· 51
Enabling BPDU drop ·········································································································· 52
Enabling PVST BPDU guard ································································································ 52
Disabling dispute guard ······································································································ 52
Enabling the device to log events of detecting or receiving TC BPDUs ················································ 55
Disabling the device from reactivating edge ports shut down by BPDU guard ······································· 55
Enabling BPDU transparent transmission on a port ········································································· 55
Enabling SNMP notifications for new-root election and topology change events ···································· 56
Display and maintenance commands for the spanning tree protocols ·················································· 57
Spanning tree configuration examples ·························································································· 57
Example: Configuring MSTP ································································································ 57
Example: Configuring PVST ································································································ 61
Example: Configuring DRNI with PVST ·················································································· 64