R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

82
<Sysname> display stp down-port
Down Port Reason
GigabitEthernet0/1 BPDU-Protected
GigabitEthernet0/3 Formatfrequency-Protected
Table 20 Command output
Field Descri
p
tion
Down Port Name of a port shut down by the spanning tree protection functions.
Reason
Reason that the port was shut down:
BPDU-Protected—BPDU guard function.
Formatfrequency-Protected—MSTP BPDU format frequent change protection function.
display stp history
Syntax
display stp [ instance instance-id ] history [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
0: Visit level
Parameters
instance instance-id: Displays the historical port role calculation information of a specific MSTI. The value
of instance-id ranges from 0 to 15, where 0 represents the CIST.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started 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.
Description
Use display stp history to display the historical port role calculation information of the specified MSTI or
all MSTIs.
In STP/RSTP mode, the displayed information is sorted by port role calculation time.
In MSTP mode, follow these guidelines:
If you do not specify any MSTI, this command displays the historical port role calculation
information of all MSTIs. The displayed information is sorted by MSTI ID and by port role calculation
time in each MSTI.
If you specify an MSTI, this command displays the historical port role calculation information of the
specified MSTI by the sequence of port role calculation time.
Examples
# In MSTP mode, display the historical port role calculation information of MSTI 2.