1. VTP asosiy parametrlarini sozlash
Sw2(config)#vtp
mode client
Sw0(config)#vtp
domain CCNA
Sw0(config)#vtp password 12345
2. Portlarning VLAN larga tegishliligini aniqlash
Sw2(config)#interface FastEthernet 0/2
Sw2(config-if)#switchport
mode access
Sw2(config-if)#switchport access vlan 20
Sw2(config-if)#exit
Sw2(config)#interface FastEthernet 0/3
Sw2(config-if)#switchport mode access
Sw2(config-if)#switchport access vlan 30
Sw2(config-if)#exit
Sw2(config)#interface FastEthernet 0/4
Sw2(config-if)#switchport mode access
Sw2(config-if)#switchport access vlan 40
Sw2(config-if)#exit
3. Trunklari aniqlsh
Sw2(config)#interface FastEthernet 0/1
Sw2(config-if)#switchport
mode trunk
Sw2(config-if)#end
Sw2#copy run
start
3.2.1.4
Sw3 kommutatorni sozlash
Sw3>enable
Sw3#configure terminal
1. VTP asosiy parametrlarini sozlash
Sw3(config)#vtp mode client
Sw0(config)#vtp domain CCNA
Sw0(config)#vtp password 12345
2. Portlarning VLAN larga tegishliligini aniqlash
Sw3(config)#interface FastEthernet 0/2
Sw3(config-if)#switchport mode access
Sw3(config-if)#switchport access vlan 20
Sw3(config-if)#exit
Sw3(config)#interface FastEthernet 0/3
Sw3(config-if)#switchport mode access
Sw3(config-if)#switchport access vlan 30
Sw3(config-if)#exit
Sw3(config)#interface FastEthernet 0/4
Sw3(config-if)#switchport mode access
Sw3(config-if)#switchport access vlan 40
Sw3(config-if)#exit
3. Trunklarni anoiqlash
Sw3(config)#interface FastEthernet 0/1
Sw3(config-if)#switchport mode trunk