1 -qadam ko`rsatilgan topologiya bo`yicha Sw1, Sw2, Sw3, Sw4 kommutatorlar uchun asosiy konfiguratsiyalarni sozlaymiz
Download 0.52 Mb.
|
zohidbek
5- labaratoriya ishi
VTP PROTOKOLI SOZLASH 1 - qadam Ma’lumot uzatish tarmoqlarining samaradorligini oshirish va xavfsizligini ta’minlashda lokal tarmoqlarda VLAN lar tashkil etiladi. VLAN tarmog`i fizik emas, mantiqiy bog`lanishga asoslangan bo`lib, lokal tarmoqda qurilmalarni guruhlaydi. VLAN tarmog`i doirasidagi qurilmalar guruhi xuddi qurilmalar bitta o`tkazgich yordamida ulangandek bo`ladi (5.1-rasm) 5.1- rasm VLAN tarmog`i asosida tuzilgan tarmoq topologiyasi 2 - qaadam VLAN 10 ,VLAN20, VLAN 30 ga biriktirilgan portlar royxatini ko`rib olishimiz mumkin.(5.2-rasm) 5.2- rasm VLAN larga biriktirilgan portlar 3- qadam Switch 1 ni quyidagicha sozlab olishimiz mumkin(5.3-rasm) 5 .3-rasm Switch 1 sozlamalari 4 - qadam Vlanlar yaratib Switch 1 bilan bog`lab chiqamiz(5.4- rasm) 5.4- rasm Vlanlarni switch ga boglash 5- qadam Sw2 ni ham Vlanlar bilan boglab olganimizdan song Sw1 va Sw2 kommutatorlar o`rtasida trunk rejimini sozlash va magistral liniya bo`yicha aniq VLAN ID ta’yinlash.(5.5- rasm) Sw1(config)#interface fastEthernet 0/7 Sw1(config-if)#switchport mode trunk Sw1(config-if)#switchport trunk allowed vlan 10,20,30 Sw1(config-if)#end S w1#show running-config 5.5- rasm Sw1 bilan Sw2 Trunk boglanish 6- qadam VLAN lar o‘rtasida marshrutizatsiyani sozlash. Lokal tarmoqda yaratilgan VLAN lar o‘rtasida marshrutizatsiyani sozlashning 3 xil usuli mavjud: Demonstrating the legacy inter-VLAN routing. Router-on-a-Stick Switch Based Inter Vlan Routing Bu laboratoriya ishida VLAN lar o‘rtasida marshrutizatsiyani Router-on-a-stick (ROS) usulidan foydalanamiz. Quyidagi komandalar orqali sozlashimiz mumkin.(5.6-rasm) Sw1(config)#interface fastEthernet 0/8 Sw1(config-if)#switchport mode trunk Router>enable Router#conf t Router(config)#interface fastEthernet 0/1 Router(config-if)#no shutdown Router(config)#interface fastEthernet 0/1.10 Router(config-subif)#encapsulation dot1Q 10 Router(config-subif)#ip address 192.168.10.254 255.255.255.0 Router(config-subif)#exit Router(config)#interface fastEthernet 0/1.20 Router(config-subif)#encapsulation dot1Q 20 Router(config-subif)#ip address 192.168.20.254 255.255.255.0 Router(config-subif)#exit Router(config)#interface fastEthernet 0/1.30 Router(config-subif)#encapsulation dot1Q 30 Router(config-subif)#ip address 192.168.30.254 255.255.255.0 R outer(config-subif)#exit 5.6- rasm routor Vlan sozlamalari 7- qadam quyidagicha habar almashib natijani va o`zaro kompyuter switchlarni bir-birlari bilan aloqasini tekshirib korishimiz mumkin.(5.7-rasm) 5.7- rasm xabar almashildi VTP (ingliz. VLAN Trunking Protocol) - lokal hisoblash tarmog`i protokoli bo`lib, tanlangan trank portda VLAN haqida axborot almashish uchun xizmat qiladi. VTP – vlan larni dinamik tarzda sinxronizatsiyalash uchun ishlatiladi; 3 xil rejimi mavjud: 1.Client – VLAN larni o`zgartirish, o`chirish, yaratish mumkin emas; 2.Transparent – bunda, switch da sinxronizatsiya amalga oshirilmaydi, switch faqat o`tkazuvchi vazifasini bajaradi; 3. Server – VLAN bilan istalgan funktsiyalarni bajarish mumkin; 5.8- rasm VTP protokolining bazaviy sozlamasi Protokol versiyasi tanlanadi: Switch(config)# vtp version 2 Domen va parol kiritiladi: Switch(config)# vtp domain - domen nomi Switch(config)# vtp password parol [hidden | secret] Kerakli rejimga o‘tiladi: Switch(config)# vtp mode server | client | transparent | off Yuqoridagi buyruqlardan so‘ng VTP yoqiladi, biroq, zarur vaqtda uni ma’lum bir interfeyslarda o‘chirib qo‘yish ham mumkin: Switch(config-if) # no vtp Download 0.52 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling