![HP 3100 v2 Series Command Reference Manual Download Page 105](http://html.mh-extra.com/html/hp/3100-v2-series/3100-v2-series_command-reference-manual_165751105.webp)
98
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 down-port
to display information about ports shut down by spanning tree
protection functions.
Examples
# Display information about ports shut down by spanning tree protection functions.
<Sysname> display stp down-port
Down Port Reason
Ethernet1/0/1 BPDU-Protected
Ethernet1/0/2 Formatfrequency-Protected
Table 26 Command output
Field Description
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
|
vlan
vlan-id
]
history
[
slot
slot-number
] [
|
{
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 16, where 0 represents the CIST.
vlan
vlan-id
: Displays the historical port role calculation information for a specific VLAN, in the range
of 1 to 4094.
slot slot-number
: Specifies the ID of a switch. The value can only be 1.
|
: 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.