R3303-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Configuration Guide

77
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 specified 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.
HP recommends not disabling this feature.
To enable TC-BPDU guard:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable the TC-BPDU guard function.
stp tc-protection
enable
Optional.
By default, TC-BPDU guard is enabled.
3. Configure the maximum number of
forwarding address entry flushes that the
device can perform every 10 seconds.
stp tc-protection
threshold number
Optional.
The default setting is 6.
Displaying and maintaining the spanning tree
Task Command
Remarks
Display information about ports blocked
by spanning tree protection functions.
display stp abnormal-port [ | { begin |
exclude | include } regular-expression ]
Available in any
view.
Display BPDU statistics on ports.
display stp bpdu-statistics [ interface
interface-type interface-number [ instance
instance-id ] ] [ | { begin | exclude |
include } regular-expression ]
Available in any
view.
Display information about ports shut
down by spanning tree protection
functions.
display stp down-port [ | { begin |
exclude | include } regular-expression ]
Available in any
view.
Display historical information about port
role calculations for the specified MSTI or
all MSTIs.
display stp [ instance instance-id ] history
[ slot slot-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any
view.
Display statistics about 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 ] [ | { begin | exclude |
include } regular-expression ]
Available in any
view.
Display spanning tree status and
statistics.
display stp [ instance instance-id ]
[ interface interface-list | slot slot-number ]
[ brief ] [ | { begin | exclude | include }
regular-expression ]
Available in any
view.
Display MST region configuration
information in effect.
display stp region-configuration [ |
{ begin | exclude | include }
regular-expression ]
Available in any
view.
Display root bridge information for all
MSTIs.
display stp root [ | { begin | exclude |
include } regular-expression ]
Available in any
view.
Clear spanning tree statistics. reset stp [ interface interface-list ]
Available in user
view.