CLI Command Reference
spanning-tree port mode all
This command sets the Administrative Switch Port State for all ports to enabled.
Default
Format
Mode
no spanning-tree port mode all
This command sets the Administrative Switch Port State for all ports to disabled.
Format
Mode
show spanning-tree
This command displays spanning tree settings for the common and internal spanning tree. The
following details are displayed.
Format
Modes
Bridge Priority Specifies the bridge priority for the Common and Internal Spanning tree
Bridge Identifier The bridge identifier for the CST. It is made up using the bridge priority
Time Since Topology Change Time in seconds.
Topology Change Count Number of times changed.
Topology Change Boolean value of the Topology Change parameter for the switch indicating
Designated Root The bridge identifier of the root bridge. It is made up from the bridge prior-
Root Path Cost Value of the Root Path Cost parameter for the common and internal spanning
Root Port Identifier Identifier of the port to access the Designated Root for the CST.
Root Port Max Age Derived value.
Root Port Bridge Forward Delay Derived value.
Hello Time
Bridge Hold Time Minimum time between transmission of Configuration Bridge Protocol
Bridge Max Hops Bridge max-hops count for the device.
48
© 2001- 2008 D-Link Corporation/D-Link Systems, Inc. All Rights Reserved.
disabled
spanning-tree port mode all
Global Config
no spanning-tree port mode all
Global Config
show spanning-tree
Privileged EXEC
User EXEC
(CST). The value lies between 0 and 61440. It is displayed in multiples of
4096.
and the base MAC address of the bridge.
if a topology change is in progress on any port assigned to the common and
internal spanning tree.
ity and the base MAC address of the bridge.
tree.
Configured value of the parameter for the CST.
Data Units (BPDUs)