12.
Spanning Tree Protocol (STP)
MN700004 Rev 01
118
Example
When the bridge is not the root bridge:
device-name
#
show spanning-tree
Spanning tree enabled
ProtocolSpecification = ieee8021d
Priority = 32768
TimeSinceTopologyChange = 60 (sec)
TopChanges = 4
DesignatedRoot = 08192.00:A0:12:00:00:03
RootPort = 01/01/15
RootCost = 19
MaxAge = 6 (sec)
HelloTime = 1 (sec)
ForwardDelay = 4 (sec)
HoldTime = 1 (sec)
BridgeMaxAge = 20 (sec)
BridgeHelloTime = 2 (sec)
BridgeForwardDelay = 15 (sec)
DetectLineCRCReconfig = disabled
Port |Pri|State|PCost | DCost |Designated bridge |DPrt
|FwrdT|DtctTc
--------+---+-----+------+-------------+------------------+------+-----+----
01/01/01 128 listn 19 19 32768.00A012000003 128.01 2
Disabled
01/01/02 128 block 19 0 32768.000002030405 128.63 0
Enabled
01/01/03 128 listn 19 0 32768.000002030405 128.62 2
Enabled
show spanning-tree interface
The
show spanning-tree interface
command, in Privileged (Enable) mode, displays the
Spanning-Tree topology for the specified port.
Command Syntax
device-name
#
show spanning-tree interface
UU/SS/PP
Example
The following example displays the STP interface parameters when the bridge is not the Root
Bridge:
device-name
#
show spanning-tree interface 1/1/1
PortPriority = 128
PortState = disabled
PortEnable = disabled
PortPathCost = 10
DesignatedRoot = 08192.00:A0:12:00:00:03
DesignatedCost = 19
DesignatedBridge = 32768.00:A0:12:11:29:82
DesignatedPort = 128.1
FrwrdTransitions = 0
TopChangeDetection = Enabled
The following example displays the STP interface parameters when the bridge is the Root
Bridge:
device-name
#
show spanning-tree interface 1/1/1