R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference

54
Parameters
instance instance-id: Displays the historical port role calculation information for a specific MSTI. The
value range for this argument is 0 to 31. The value 0 represents the CIST.
slot slot-number: Specifies a card by its slot number. The slot-number argument represents the slot number
of the card. If you do not specify a card, this command displays the historical port role calculation
information on all cards. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number
argument represents the member ID of the IRF member device, and the slot-number argument represents
the slot number of the card. If you do not specify a card, this command displays the historical port role
calculation information on all cards in the IRF fabric. (In IRF mode.)
|: 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 standalone mode :
# In MSTP mode, display the historical port role calculation information for MSTI 2 on the card in slot 4.
<Sysname> display stp instance 2 history slot 4
--------------- STP slot 4 history trace ---------------
------------------- Instance 2 ---------------------
Port GigabitEthernet4/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 GigabitEthernet4/0/2
Role change : ALTER->ROOT
Time : 2009/02/08 00:22:56
Port priority : 0.00e0-fc01-6510 0 0.00e0-fc01-6510 128.2
In IRF mode:
# In MSTP mode, display the historical port role calculation information for MSTI 2 on the card in slot 1
of IRF member 1.