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.5 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
Sw3(config-if)#end
Sw2#copy run start