Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
| begin
| exclude
| include
expression
Command Modes
User EXEC
Command History
Release
12.2(25)SEC
12.1(19)EA1
Usage Guidelines
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.
Examples
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
Bridge ID
Uplinkfast enabled
Interface
---------------- ---- --- --------- -------- --------------------------------
Gi0/1
<output truncated>
78-16405-05
(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
The digest keyword was added, and new digest and transmit hold count
fields appear.
This command was introduced.
Priority
32768
Address
0001.42e2.cdd0
Cost
3038
Port
24 (GigabitEthernet0/1)
Hello Time
2 sec
Max Age 20 sec
Priority
49153
(priority 49152 sys-id-ext 1)
Address
0003.fd63.9580
Hello Time
2 sec
Max Age 20 sec
Aging Time 300
Role Sts Cost
Root FWD 3019
Forward Delay 15 sec
Forward Delay 15 sec
Prio.Nbr Type
128.24
P2p
Catalyst 3560 Switch Command Reference
show spanning-tree
2-521