58
Parameters
instance instance-id
: Displays the historical port role calculation information for a specific MSTI. The
minimum value of
instance-id
is 0, representing the CIST, and the maximum value of
instance-id
is
15.
|
: 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.
Usage guidelines
In STP or RSTP mode, the displayed information is sorted by port role calculation time.
In MSTP mode:
•
If you do not specify any MSTI, this command displays the historical port role calculation
information for 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 for
the specified MSTI by the sequence of port role calculation time.
Examples
# In MSTP mode, display the historical port role calculation information for MSTI 2.
<Sysname> display stp instance 2 history
------------------- Instance 2 ---------------------
Port Ethernet1/1
Role change : ROOT->DESI (Aged)
Time : 2010/02/08 00:22:56
Port priority : 0.00e0-fc01-6510 0 0.00e0-fc01-6510 128.1
Port Ethernet1/2
Role change : ALTER->ROOT
Time : 2010/02/08 00:22:56
Port priority : 0.00e0-fc01-6510 0 0.00e0-fc01-6510 128.2
Table 17 Command output
Field Description
Port Port
name.
Role change
Role change of the port ("Aged" means that the change was caused by expiration
of the received configuration BPDU).
Time
Time of port role calculation.
Port priority
Port priority.
display stp region-configuration
Use
display stp region-configuration
to display the effective configuration information of the MST
region, including the region name, revision level, and user-configured VLAN-to-instance mappings.
Syntax
display stp region-configuration
[
|
{
begin
|
exclude
|
include
}
regular-expression
]