122
• If you specify a VLAN list, this command applies to the specified VLANs.
In MSTP mode, the command output is sorted by MSTI ID and by port role calculation time in each
MSTI.
• If you do not specify an MSTI, this command applies to all MSTIs.
• If you specify an MSTI list, this command applies to the specified MSTIs.
Examples
# In MSTP mode, display the port role calculation history on the specified slot 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
Designated priority : 0.00e0-fc01-6510 0 0.00e0-fc01-6510 128.1
Port GigabitEthernet1/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
128.153
Designated priority : 0.00e0-fc01-6510 0 0.00e0-fc01-6510 128.2
128.153
# In PVST mode, display the port role calculation history on the specified slot in VLAN 2.
<Sysname> display stp vlan 2 history slot 1
--------------- STP slot 1 history trace ---------------
------------------- VLAN 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
Designated priority : 0.00e0-fc01-6510 0 0.00e0-fc01-6510 128.1
Port GigabitEthernet1/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
Designated priority : 0.00e0-fc01-6510 0 0.00e0-fc01-6510 128.2
Table 30 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.