Switching Tech, Lab 17. Port Security - Violation Recovery

 

Kalau di CCNA Jika ingin menghidupkan port yang terdisable karena violation maka caranya adalah dengan shutdown interfacenya dan no shutdown, Kali ini kita akan membuat recovery otomatis tanpa harus shutdown dan no shutdown 

Kondisi Awal : 

SW-1:
SW-1#show int f1/0/1  
FastEthernet1/0/1 is down, line protocol is down (err-disabled) 

Konfigurasikan command dibawah ini 

SW-1:
SW-1(config)#errdisable recovery cause psecure-violation 
Switch(config)#errdisable recovery interval 60  

Nantinya interface akan up dengan sendirinya 

SW-1:
Switch(config)#  
*Des 13 00:20:57.376: %PM-4-ERR_RECOVER: Attempting to recover from psecure- violation err-disable state on Fa1/0/1  
*Des 13 00:21:01.243: %LINK-3-UPDOWN: Interface FastEthernet1/0/1, changed state to up  
*Des 13 00:21:02.250: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0/1, changed state to up  
SW-1(config)#
SW-1(config)#do show int f1/0/1  
FastEthernet1/0/1 is up, line protocol is up (connected)

Komentar

Postingan populer dari blog ini

Automation, Backup Config With Paramiko