display stp global
Usage Guidelines
Usage Scenario
When a device provides many interfaces, the display stp command output contains a large amount of information, and it is difficult to find the desired information quickly and view global information at a glance. The display stp brief command output, by comparison, displays information about spanning trees on interfaces, but not global information.
Using the display stp global command, you can view global STP information conveniently.
Example
# Display brief STP information about MSTP.
<AC6605> display stp global Protocol Status : Enabled Bpdu-filter default : Disabled Tc-protection : Disabled Tc-protection threshold : 1 Tc-protection interval : 2s Edged port default : Enabled Pathcost-standard : Dot1t Timer-factor : 3 Transmit-limit : 10 Bridge-diameter : 7 -------[CIST Global Info][Mode MSTP]------- CIST Bridge :61440.781d-ba56-f06c Config Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20 Active Times :Hello 2s MaxAge 20s FwDly 15s MaxHop 20 CIST Root/ERPC :61440.781d-ba56-f06c / 0 (This bridge is the root) CIST RegRoot/IRPC :61440.781d-ba56-f06c / 0 (This bridge is the root) CIST RootPortId :0.0 BPDU-Protection :Disabled TC or TCN received :85 TC count per hello :0 STP Converge Mode :Normal Time since last TC :0 days 9h:12m:34s Number of TC :13 Last TC occurred :GigabitEthernet0/0/1
Item |
Description |
---|---|
Protocol Status |
Spanning Tree Protocol (STP) status:
|
Bpdu-filter default |
Whether the function of configuring device interfaces as Bridge Protocol Data Unit (BPDU) filter interfaces is enabled:
|
Tc-protection |
Topology change (TC) protection status:
|
Tc-protection threshold |
Threshold of TC packets that the device can handle and immediately refresh forwarding entries in a given period |
Tc-protection interval |
Time the MSTP takes to handle a given number of TC packets and immediately refresh forwarding entries |
Edged port default |
Whether the function of configuring all ports of the switch as edge ports is enabled:
|
Pathcost-standard |
Method of calculating the MSTP path cost |
Timer-factor |
Multiplier of Hello time |
Transmit-limit |
Maximum number of BPDUs that the current interface can send per Hello time. For details, see stp transmit-limit. |
Bridge-diameter |
Network diameter of the MSTP |
CIST Bridge |
Common and internal spanning tree (CIST) bridge ID
|
Config Times |
Configured bridge protocol parameters:
|
Active Times |
Bridge protocol parameters that are being used:
|
CIST Root/ERPC |
CIST root switch ID/Cost of the external path (path from the switch to the CIST root switch) |
CIST RegRoot/IRPC |
ID of the CIST region root bridge/Cost of the internal path (path from the switch to the CIST region root switch) |
CIST RootPortId |
ID of the CIST root interface. 0.0 indicates that the switch is the root switch and does not provide any root interface. |
BPDU-Protection |
Whether BPDU protection is enabled:
|
TC or TCN received |
Number of received TC or topology change notification (TCN) packets |
TC count per hello |
Number of TC packets received per Hello time |
STP Converge Mode |
Convergence mode of the Spanning Tree Protocol (SPT), which can be fast or normal. For details, see stp converge. |
Time since last TC |
Time since the last topology change |
Number of TC |
Number of topology changes |
Last TC occurred |
Interface which causes the last topology change NOTE:
This parameter does not appear when Number of TC is 0. |