Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
Command Modes
Command History
Usage Guidelines
Examples
OL-21522-02
Downloaded from
www.Manualslib.com
| begin
| exclude
| include
expression
User EXEC
Release
12.2(53)SE2
If the vlan-id variable is omitted, the command applies to the spanning-tree instance for all VLANs.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
do not appear, but the lines that contain Output appear.
This is an example of output from the show spanning-tree active command:
Switch# show spanning-tree active
VLAN0001
Spanning tree enabled protocol ieee
Root ID
Priority
Address
Cost
Port
Hello Time
Bridge ID
Priority
Address
Hello Time
Aging Time 300
Uplinkfast enabled
Interface
Role Sts Cost
---------------- ---- --- --------- -------- --------------------------------
Gi2/0/1
Root FWD 3019
<output truncated>
This is an example of output from the show spanning-tree detail command:
Switch# show spanning-tree detail
VLAN0001 is executing the ieee compatible Spanning Tree protocol
Bridge Identifier has priority 49152, sysid 1, address 0003.fd63.9580
Configured hello time 2, max age 20, forward delay 15
Current root has priority 32768, address 0001.42e2.cdd0
Root port is 24 (GigabitEthernet2/0/1), cost of root path is 3038
Topology change flag not set, detected flag not set
Number of topology changes 0 last change occurred 1d16h ago
Times:
hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
Timers: hello 0, topology change 0, notification 0, aging 300
Uplinkfast enabled
manuals search engine
(Optional) Display begins with the line that matches the expression.
(Optional) Display excludes lines that match the expression.
(Optional) Display includes lines that match the specified expression.
Expression in the output to use as a reference point.
Modification
This command was introduced.
32768
0001.42e2.cdd0
3038
24 (GigabitEthernet2/0/1)
2 sec
Max Age 20 sec
49153
(priority 49152 sys-id-ext 1)
0003.fd63.9580
2 sec
Max Age 20 sec
Prio.Nbr Type
128.24
P2p
Catalyst 3750-X and 3560-X Switch Command Reference
show spanning-tree
Forward Delay 15 sec
Forward Delay 15 sec
2-749