85
display stp history
Syntax
display stp
[
instance
instance-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 particular MSTI. The
instance-id
argument ranges from 0 to 15, where 0 represents the CIST.
slot
slot-number
: Displays the historical port role calculation information on the specified IRF member
device.
slot-number
represents the number of the member number of the device in the IRF. If this
keyword-argument combination is not specified, this command displays the historical port role
calculation information on all IRF member devices.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
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, which is a case sensitive string of 1 to 256 characters.
Description
Use the
display stp history
command to display the historical port role calculation information of the
specified MSTI or all MSTIs.
If you do not specify an MSTI ID, this command will display 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 ID, this command will display the historical port role calculation information of
only this specified MSTI by the sequence of port role calculation time.
Examples
# Display the historical port role calculation information of the IRF member device 1 in MSTI 2.
<Sysname> display stp instance 2 history slot 1
--------------- STP slot 1 history trace ---------------
------------------- Instance 2 ---------------------
Port GigabitEthernet1/0/1
Role change : ROOT->DESI (Aged)
Time : 2009/02/08 00:22:56
Port priority : 0.00e0-fc01-6510 0 0.00e0-fc01-6510 128.1
Port GigabitEthernet1/0/2