config t
interface FastEthernet1/14
switchport mode trunk
no ip address
no shut
channel-group 1 mode on
!
interface FastEthernet1/15
switchport mode trunk
no ip address
no shut
channel-group 1 mode on
exit
exit
wr
input commands
vlan database
vtp domain CCIELab
vtp server
vlan 60
vlan 71
vlan 120
vlan 140
vlan 735
exit
wr
show vlan-switch
SwitchB#show vlan-switch
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa1/0, Fa1/1, Fa1/2, Fa1/3
Fa1/4, Fa1/5, Fa1/6, Fa1/7
Fa1/8, Fa1/9, Fa1/10, Fa1/11
Fa1/12, Fa1/13
60 VLAN0060 active
71 VLAN0071 active
120 VLAN0120 active
140 VLAN0140 active
735 VLAN0735 active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
60 enet 100060 1500 - - - - - 0 0
71 enet 100071 1500 - - - - - 0 0
120 enet 100120 1500 - - - - - 0 0
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
140 enet 100140 1500 - - - - - 0 0
735 enet 100735 1500 - - - - - 0 0
1002 fddi 101002 1500 - 0 - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
config t
interface FastEthernet1/5
switchport access vlan 735
spanning-tree portfast
no shut
!
interface FastEthernet1/6
switchport access vlan 60
spanning-tree portfast
no shut
!
interface FastEthernet1/7
switchport access vlan 71
spanning-tree portfast
no shut
!
Input commands
vlan database
vtp domain CCIELab
vtp client
exit
wr
Show VTP Status
SwitchA#show vtp status
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 256
Number of existing VLANs : 10
VTP Operating Mode : Client
VTP Domain Name : CCIELab
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x9A 0xC1 0xBB 0x63 0xBD 0xF8 0xE3 0x0D
Configuration last modified by 0.0.0.0 at 3-1-93 21:17:56
Assigning ports to Vlans
config t
interface FastEthernet1/1
switchport access vlan 120
spanning-tree portfast
no shut
!
interface FastEthernet1/2
switchport access vlan 120
spanning-tree portfast
no shut
!
interface FastEthernet1/3
switchport access vlan 735
spanning-tree portfast
no shut
!
interface FastEthernet1/4
switchport access vlan 140
spanning-tree portfast
no shut
!
interface FastEthernet1/7
switchport access vlan 735
no shut
exit
exit
wr
show vlan-switch
SwitchA#show vlan-switch
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa1/0, Fa1/1, Fa1/2, Fa1/3
Fa1/4, Fa1/5, Fa1/6, Fa1/7
Fa1/8, Fa1/9, Fa1/10, Fa1/11
Fa1/12, Fa1/13
60 VLAN0060 active
71 VLAN0071 active
120 VLAN0120 active
140 VLAN0140 active
735 VLAN0735 active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
60 enet 100060 1500 - - - - - 0 0
71 enet 100071 1500 - - - - - 0 0
120 enet 100120 1500 - - - - - 0 0
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
140 enet 100140 1500 - - - - - 0 0
735 enet 100735 1500 - - - - - 0 0
1002 fddi 101002 1500 - 0 - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
SwitchA#
Adding Vlan Interface
config t
interface Vlan140
ip address 180.1.40.140 255.255.255.0
no shut
exit
exit
wr
input commands
spanning-tree vlan 1 root primary
spanning-tree vlan 60 root primary
spanning-tree vlan 71 root primary
spanning-tree vlan 120 root primary
spanning-tree vlan 140 root primary
spanning-tree vlan 735 root primary
show spanning-tree root brief
SwitchB#show spanning-tree root brief
Root Hello Max Fwd
Vlan Root ID Cost Time Age Delay Root Port
---------------- -------------------- ----- ---- ---- ----- ----------------
VLAN1 8192 cc0b.0b50.0000 0 2 20 15 This bridge is root
VLAN60 8192 cc0b.0b50.0001 0 2 20 15 This bridge is root
VLAN71 8192 cc0b.0b50.0002 0 2 20 15 This bridge is root
VLAN120 8192 cc0b.0b50.0003 0 2 20 15 This bridge is root
VLAN140 8192 cc0b.0b50.0004 0 2 20 15 This bridge is root
VLAN735 8192 cc0b.0b50.0005 0 2 20 15 This bridge is root
SwitchB#
show spanning-tree root br
SwitchA#show spanning-tree root br
Root Hello Max Fwd
Vlan Root ID Cost Time Age Delay Root Port
---------------- -------------------- ----- ---- ---- ----- ----------------
VLAN1 8192 cc0b.0b50.0000 12 2 20 15 Port-channel1
VLAN60 8192 cc0b.0b50.0001 12 2 20 15 Port-channel1
VLAN71 8192 cc0b.0b50.0002 12 2 20 15 Port-channel1
VLAN120 8192 cc0b.0b50.0003 12 2 20 15 Port-channel1
VLAN140 8192 cc0b.0b50.0004 12 2 20 15 Port-channel1
VLAN735 8192 cc0b.0b50.0005 12 2 20 15 Port-channel1