background image
LAN Switch Configuration 193
Example 4-11 shows a sample of the show trunk command, as well as the show vlan-
membership
command:
Use the show spantree privileged EXEC command to display the Spanning-Tree Protocol
configuration status of the switch, as demonstrated in Example 4-12.
Example 4-11
show trunk Output
Switch1# show trunk a
DISL state: Off, Trunking: On, Encapsulation type: ISL
Switch1#show vlan-membership
Port VLAN Membership Type Port VLAN Membership Type
-----------------------------------------------------------------------------
1 1 Static 14 2 Static
2 1 Static 15 2 Static
3 1 Static 16 1 Static
4 1 Static 17 1 Static
5 2 Static 18 1 Static
6 2 Static 19 1 Static
7 2 Static 20 1 Static
8 2 Static 21 1 Static
9 3 Static 22 1 Static
10 3 Static 23 1 Static
11 3 Static 24 1 Static
12 3 Static AUI 1 Static
13 1 Static
A 1-3 Static
B 1-3 Static
Example 4-12
show spantree Output
Switch1# show spantree 1
VLAN1 is executing the IEEE compatible Spanning-Tree Protocol
Bridge Identifier has priority 32768, address 0050.F037.DA00
Configured hello time 2, max age 20, forward delay 15
Current root has priority 0, address 00D0.588F.B600
Root port is FastEthernet 0/27, cost of root path is 10
Topology change flag not set, detected flag not set
Topology changes 53, last topology change occurred 0d00h17m14s ago
Times: hold 1, topology change 8960
hello 2, max age 20, forward delay 15
Timers: hello 2, topology change 35, notification 2
Port Ethernet 0/1 of VLAN1 is Forwarding
Port path cost 100, Port priority 128
Designated root has priority 0, address 00D0.588F.B600
Designated bridge has priority 32768, address 0050.F037.DA00
Designated port is Ethernet 0/1, path cost 10
Timers: message age 20, forward delay 15, hold 1
ch04.fm Page 193 Monday, March 20, 2000 5:02 PM