R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
53
Views
Any view
Default command level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display information about ports shut down by spanning tree protection functions.
<Sysname> display stp down-port
Down Port Reason
GigabitEthernet4/0/1 BPDU-Protected
GigabitEthernet4/0/2 Formatfrequency-Protected
Table 16 Command output
Field Description
Down Port Name of a port shut down by the spanning tree protection functions.
Reason
Reason the port was shut down:
• BPDU-Protected—BPDU guard function.
• Formatfrequency-Protected—MSTP BPDU format frequent change protection function.
display stp history
Use display stp history to display the historical port role calculation information for the specified MSTI or
all MSTIs.
Syntax
In standalone mode:
display stp [ instance instance-id ] history [ slot slot-number ] [ | { begin | exclude | include }
regular-expression ]
In IRF mode:
display stp [ instance instance-id ] history [ chassis chassis-number slot slot-number ] [ | { begin | exclude
| include } regular-expression ]
Views
Any view
Default command level
0: Visit level