Professional Documents
Culture Documents
conf t
ho SW1
vtp mode server
vtp domain vnpro
vtp pass cisco
int e0/1
switchport trunk encapsulation dot1q
switchport mode trunk
no shut
exit
int e0/2
switchport trunk encapsulation dot1q
switchport mode trunk
no shut
exit
vlan 1
name VLAN1
exit
vlan 2
name VLAN2
exit
vlan 3
name VLAN3
exit
KIEM TRA
SW1#sh vlan
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
2 enet 100002 1500 - - - - - 0 0
3 enet 100003 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
SW2(config)#int e0/2
SW2(config-if)#spanning-tree vlan 3 cost 250
SW2(config-if)#exit
SW2(config)#do sh spa vlan 3
VLAN0003
Spanning tree enabled protocol rstp
Root ID Priority 24579
Address aabb.cc00.0300
Cost 200
Port 2 (Ethernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Feature VLAN:
--------------
VTP Operating Mode : Client
Maximum VLANs supported locally : 1005
Number of existing VLANs :7
Configuration Revision :2
MD5 digest : 0x7D 0x38 0x84 0x84 0xCB 0x91 0x96 0x2E
0x1B 0x8F 0x61 0xBE 0x13 0x86 0x09 0xCA
conf t
ho SW3
vtp mode client
vtp domain vnpro
vtp pass cisco
int e0/1
switchport trunk encapsulation dot1q
switchport mode trunk
no shut
exit
int e0/2
switchport trunk encapsulation dot1q
switchport mode trunk
no shut
exit