iv
Setting spanning tree timers ·························································································································· 101
Setting the timeout factor ······························································································································· 102
Configuring the BPDU transmission rate ······································································································· 103
Configuring edge ports ··································································································································· 103
Configuring path costs of ports ······················································································································ 104
About path cost ······································································································································ 104
Specifying a standard for the default path cost calculation ···································································· 104
Configuring path costs of ports ·············································································································· 107
Configuring the port priority ···························································································································· 107
Configuring the port link type ························································································································· 108
Configuring the mode a port uses to recognize and send MSTP frames······················································· 108
Enabling outputting port state transition information ······················································································ 109
Enabling the spanning tree feature ················································································································ 109
Restrictions and guidelines ···················································································································· 109
Enabling the spanning tree feature in STP/RSTP/MSTP mode ····························································· 110
Performing mCheck ······································································································································· 110
About mCheck ········································································································································ 110
Restrictions and guidelines ···················································································································· 110
Performing mCheck globally ·················································································································· 110
Performing mCheck in interface view ····································································································· 110
Configuring Digest Snooping ························································································································· 111
Configuring No Agreement Check ················································································································· 112
Configuring TC Snooping ······························································································································· 114
Configuring protection features ······················································································································ 115
Spanning tree protection tasks at a glance ···························································································· 115
Configuring BPDU guard ························································································································ 115
Enabling root guard ································································································································ 116
Enabling loop guard ······························································································································· 117
Configuring port role restriction ·············································································································· 117
Configuring TC-BPDU transmission restriction ······················································································ 118
Enabling TC-BPDU guard ······················································································································ 118
Enabling PVST BPDU guard ·················································································································· 119
Disabling dispute guard ·························································································································· 119
Disabling the device from reactivating edge ports shut down by BPDU guard ·············································· 121
Enabling SNMP notifications for new-root election and topology change events ·········································· 121
Verifying and maintaining the spanning tree protocols ·················································································· 122
Verifying the spanning tree protocol running status ··············································································· 122
Displaying spanning tree packet statistics ····························································································· 122
Verifying the running status of spanning tree protection features ·························································· 122
Clearing the spanning tree statistics ······································································································ 123
Spanning tree configuration examples ··········································································································· 123
Example: Configuring MSTP ·················································································································· 123
Configuring LLDP ······················································································ 127
About LLDP ···················································································································································· 127
LLDP agents and bridge modes············································································································· 127
LLDP frame formats ······························································································································· 128
LLDPDUs ··············································································································································· 129
TLVs ······················································································································································· 129
Management address ···························································································································· 132
LLDP operating modes ·························································································································· 132
Transmitting and receiving LLDP frames ······························································································· 133
Protocols and standards ························································································································ 133
Restrictions and guidelines: LLDP configuration···························································································· 133
LLDP tasks at a glance ·································································································································· 134
Enabling LLDP ··············································································································································· 134
Setting the LLDP operating mode ·················································································································· 134
Setting the LLDP reinitialization delay············································································································ 135
Configuring the advertisable TLVs ················································································································· 135
Configuring advertisement of the management address TLV ········································································ 138
Setting the encapsulation format for LLDP frames ························································································ 139
Setting LLDP frame transmission parameters ······························································································· 140