1-37
With the TC-BPDU guard function, you can set the maximum number of immediate forwarding address
entry flushes that the switch can perform within a certain period of time after receiving the first TC-BPDU.
For TC-BPDUs received in excess of the limit, the switch performs forwarding address entry flush only
when the time period expires. This prevents frequent flushing of forwarding address entries.
Follow these steps to enable TC-BPDU guard:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enable the TC-BPDU guard
function
stp tc-protection enable
Optional
Enabled by default
Configure the maximum
number of forwarding address
entry flushes that the device
can perform within a specific
time period after it receives the
first TC-BPDU
stp tc-protection threshold
number
Optional
6 by default
We recommend that you keep this feature enabled.
Displaying and Maintaining MSTP
To do...
Use the command...
Remarks
View information about abnormally
blocked ports
display stp abnormal-port
Available in any view
View information about ports blocked
by STP protection functions
display stp down-port
Available in any view
View the historical information of port
role calculation for the specified MSTI
or all MSTIs
display stp
[
instance
instance-id
]
history
[
slot
slot-number
]
Available in any view
View the statistics of TC/TCN BPDUs
sent and received by all ports in the
specified MSTI or all MSTIs
display stp
[
instance
instance-id
]
tc
[
slot slot-number
]
Available in any view
View the status information and
statistics information of MSTP
display stp
[
instance
instance-id
]
[
interface
interface-list
|
slot
slot-number
]
[
brief
]
Available in any view
View the MST region configuration
information that has taken effect
display stp region-configuration
Available in any view
View the root bridge information of all
MSTIs
display stp root
Available in any view
Clear the statistics information of
MSTP
reset stp
[
interface
interface-list
] Available in user view