11-14
display stp history
Syntax
On a distributed device:
display stp [ instance instance-id ] history [ slot slot-number ] [ | { begin | exclude | include }
regular-expression ]
On a distributed IRF member device:
display stp [ instance instance-id ] history [ chassis chassis-number slot slot-number ] [ | { begin |
exclude | include } regular-expression ]
View
Any view
Default Level
0: Visit level
Parameters
instance instance-id: Displays the historic port role calculation information of a particular MSTI. The
minimum value of instance-id is 0, representing the common internal spanning tree (CIST), and the
maximum value of instance-id is 31.
slot slot-number: Displays the historical port role calculation information on the specified card.
slot-number represents the number of the slot that houses the card. If this keyword-argument
combination is not specified, this command displays the historical port role calculation information on
all cards (on a distributed device).
chassis chassis-number slot slot-number: Displays the historical port role calculation information on
the specified card of the specified IRF member device. The chassis-number argument represents the
ID of the IRF member device. The slot-number argument represents the number of the slot that houses
the card. If this keyword-argument combination is not specified, this command displays the historical
port role calculation information on all cards of all member devices in the current IRF virtual device (on
a distributed IRF member device).
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see
CLI Configuration in the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays the 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 historic port role calculation information of the
specified MSTI or all MSTIs.
If you do not specify an MSTI ID, this command will display the historic port role calculation information
of all MSTIs. The displayed information is sorted by MSTI ID, and by port role calculation time in each
MSTI.