PORT SECURITY VIOLATION ACTION - SWITCHTECH #18

 

PORT SECURITY VIOLATION ACTION - SWITCHTECH


Perhatikan topologi berikut ini,


Hapus konfigurasi bekas sebelumnya,

SW-1
Switch(config)#no errdisable recovery interval 60 
Switch(config)#no errdisable recovery cause psecure-violation
Switch(config)#default int f1/0/1

kemudian Cek lagi Mac address di sisi router 

R1
Router(config)#do show int f0/0 | i add
Hardware is Gt96k FE, address is 0021.d831.1bda (bia0021.d831.1bda)

lalu Konfigurasikan port-security pada SW-1 

SW-1
Switch(config)#interface FastEthernet 1/0/1 
Switch(config-if)#switchport mode access 
Switch(config-if)#switchport port-security
Switch(config-if)#switchport port-security mac-address 0021.d831.1bda 
Switch(config-if)#switchport port-security violation restrict

Kita rubah nilai mac address f0/0 pada Router 

R1
Router(config)#int F0/0
Router(config-if)#mac-address aaaa.bbbb.cccc
Router(config-if)#exit


Komentar

Postingan populer dari blog ini

EIGRP WITH DISTRIBUTE LIST - EIGRP #1

WALLED GARDEN IP LIST - NETWORK MANAGEMENT MIKROTIK #11

PHASE 1 DYNAMIC MAPPING - DMVPN #1