|
“ kif ” fakultetiBog'liq cisko3.2.1.5.
Sw4 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
Sw4(config)#interface FastEthernet 0/2
Sw4(config-if)#switchport mode access
Sw4(config-if)#switchport access vlan 20
Sw4(config-if)#exit
Sw4(config)#interface FastEthernet 0/3
Sw4(config-if)#switchport mode access
Sw4(config-if)#switchport access vlan 30
Sw4(config-if)#exit
Sw4(config)#interface FastEthernet 0/4
Sw4(config-if)#switchport mode access
Sw4(config-if)#switchport access vlan 40
Sw4(config-if)#exit
3.Trunklarni aniqlash
Sw4(config)#interface FastEthernet 0/1
Sw4(config-if)#switchport mode trunk
Sw4(config-if)#end
Sw4#copy run start
3.2.2 R1 marshrutizatorni sozlash
1. Vlan lar orasida marshrutizatsiyani sozlash
R1>enableRouter#configure terminal
R1(config)#interface FastEthernet 0/0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface FastEthernet 0/0.20
R1(config-subif)#encapsulation dot1Q 20
R1(config-subif)#ip address 192.168.20.1 255.255.255.0
R1(config-subif)#exit
R1(config)#interface FastEthernet 0/0.30
R1(config-subif)#encapsulation dot1Q 30
R1(config-subif)#ip address 192.168.30.1 255.255.255.0
R1(config-subif)#exit
R1(config)#interface FastEthernet 0/0.40
R1(config-subif)#encapsulation dot1Q 40
R1(config-subif)#ip address 192.168.40.1 255.255.255.0
R1(config-subif)#end
R1#copy run start
2. VTP diagnostikasi
R1#show vtp status
R1#show vlan
R1#show interfaces trunk
|
| |