2 Laboratoriya ishi Mavzu: Kommutatorda port xavfsizligiMAC-manzillar jadvalini tozalash
Ishni bajarish tartibiSwitch>enable Switch#configure terminal Switch(config)#hostname Sw1 Sw1(config)#interface fa0/1 Portni access rejimiga o`zgartirishSw1(config-if)#switchport mode access Portda port-securityni ishga tushurishSw1 (config-if)#switchport port-security Secure-MAC ni dinamik aniqlashni ko`rsatishSw1 (config-if)#switchport port-security mac-address sticky Sw1 (config-if)#exit Secure-MAC ni statik aniqlashni ko`rsatishSw1(config)#interface fastEthernet 0/2 Sw1(config-if)#switchport mode access Sw1(config-if)#switchport port-security Sw1(config-if)#switchport port-security mac-address 000B.BE9B.EE4A Sw1(config-if)#end Xavfsizlik buzilishigi javob berish rejimini sozlashSw1(config)#interface fastEthernet 0/3 Sw1(config-if)#switchport mode access Sw1(config-if)#switchport port-security Sw1(config-if)#switchport port-security mac-address sticky Sw1(config-if)#switchport port-security violation protect Sw1(config-if)#end Ishlatilmayotgan portlarni o`chirishSw1(config)#interface range fastEthernet 0/5-24 Sw1(config-if-range)#shutdown Portda secure-MAC maksimal soni N ni ko`rsatish (Bu buyruq Sw2 kommutatorga tavsiya etiladi) Switch>enable Switch#configure terminal Switch(config)#hostname Sw2 Sw2(config)#interface fa0/4 Sw2(config-if)#switchport mode trunk Sw2(config-if)#switchport port-security maximum 4 Sw1(config-if)#switchport port-security violation restrict Natijani tekshirishSwitch#show port-security interface fa 0/1 Port Security : Enabled Port Status : Secure-up Violation Mode : Shutdown Aging Time : 0 mins Aging Type : Absolute SecureStatic Address Aging : Disabled Maximum MAC Addresses : 1 Total MAC Addresses : 0 Configured MAC Addresses : 0 Sticky MAC Addresses : 0 Last Source Address:Vlan : 0001.63B4.E4A6:1 Security Violation Count : 0 Sozlamalarni saqlashSwitch#copy running-config startup-config TopshiriqHar bir talaba yuqorida keltirilgan ma‘lumotlar bo`yicha Cisco Packet tracer muhitida laboratoriya ishini bajaradi. Nazorat savollariMAC-manzil bu nima va qurilmalarda qanday aniqlanadi? Kommutatorda port xavfsizligi funksiyasini nima uchun ishlatiladi? Secure-MAC maksimal sonini N qaysi holatlarda ishlatiladi? Yüklə 167,88 Kb. Dostları ilə paylaş: |