19.14 Operation for common Spanning Tree functionality
19.14.1 List of operation commands
The following table describes the operation command for common Spanning Tree
functionality.
Table 19-24 List of operation commands
Command name
show spanning-tree
19.14.2 Checking the status of common Spanning Tree functionality
Use the
show spanning-tree detail
Spanning Tree Protocols. The figure below shows an example for VLAN 4094 PVST+.
The PortFast item can be checked to make sure that PortFast is set for port 0/20.
The Loop Guard item can be checked to make sure that a loop guard is set for port
0/17.
The RootGuard item can be checked for root guards, and the BPDUFilter item for
BPDU filters. (In the following example, they are both OFF, which indicates that the
functionality has not been set.)
The Link Type item for each port can be used to check the link type. (In the following
example,
Figure 19-20 Spanning Tree information
> show spanning-tree vlan 4094 detail
Date 2008/11/14 11:26:46 UTC
VLAN 4094
Bridge ID
Priority:36862
Bridge Status:Designated
Max Age:20
Forward Delay:15
Root Bridge ID
Priority:36862
Root Cost:19
Root Port:0/20
Max Age:20
Forward Delay:15
Port Information
Port:0/17 Down
Status:Disabled
Priority:128
Link Type:-
Loop Guard:ON(Blocking)
BPDUFilter:OFF
Port:0/20 Up
Status:Forwarding
Priority:128
Link Type:-
Loop Guard:OFF
BPDUFilter:OFF
BPDU Parameters(2008/11/14 11:26:47):
Designated Root
Description
Displays Spanning Tree information.
-
is displayed because PVST+ is used.)
PVST+ Spanning Tree:Enabled
operation command to check information about
Mode:PVST+
MAC Address:00ed.f010.0001
Path Cost Method:Short
Hello Time:2
MAC Address:0012.e2c4.2772
Hello Time:2
Role:-
Cost:-
Compatible Mode:-
PortFast:OFF
RootGuard:OFF
Role:Root
Cost:19
Compatible Mode:-
PortFast:ON(BPDU received)
RootGuard:OFF
19 Spanning Tree Protocol
349