R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
85
With the TC-BPDU guard function, you can set the maximum number of immediate forwarding address
entry flushes that the device can perform every a certain period of time (10 seconds). For TC-BPDUs
received in excess of the limit, the device performs a forwarding address entry flush 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 every 10
seconds
stp tc-protection threshold number
Optional
6 by default.
NOTE:
HP does not recommend you disable this feature.
Displaying and maintaining the spanning tree
To do... Use the command...
Remarks
Enter system view system-view —
Display information
about ports blocked by
spanning tree protection
functions
display stp abnormal-port Available in any view
Display information
about ports shut down
by spanning tree
protection functions
display stp down-port Available in any view
Display the historical
information of port role
calculation for the
specified MSTI or all
MSTIs
display stp [ instance instance-id ]
history
Available in any view
Display 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 Available in any view
Display the spanning
tree status and statistics
display stp [ instance instance-id ]
[ interface interface-list ]
Available in any view
Display the MST region
configuration
information that has
taken effect
display stp region-configuration Available in any view