mac

Commands for ARP Scanning Prevention
289
22.7 anti-arpscan recovery time
Command: anti-arpscan recovery time <seconds>
no anti-arpscan recovery time
Function: Configure automatic recovery time; no anti-arpscan recovery time
command resets the automatic recovery time to default value.
Parameters: Automatic recovery time, in second ranging from 5 to 86400.
Default Settings: 300 seconds.
Command Mode: Global configuration mode
User Guide: Automatic recovery function should be enabled first.
Example: Set the automatic recovery time as 3600 seconds.
Switch(config)#anti-arpscan recovery time 3600
22.8 anti-arpscan log enable
Command: anti-arpscan log enable
no anti-arpscan log enable
Function: Enable ARP scanning prevention log function; no anti-arpscan log enable
command will disable this function.
Parameters: None.
Default Settings: Enable ARP scanning prevention log function.
Command Mode: Global configuration mode
User Guide: After enabling ARP scanning prevention log function, users can check the
detailed information of ports being closed or automatically recovered by ARP scanning
prevention or IP being disabled and recovered by ARP scanning prevention. The level of
the log is “Warning”.
Example: Enable ARP scanning prevention log function of the switch.
Switch(config)#anti-arpscan log enable
22.9 anti-arpscan trap enable
Command: anti-arpscan trap enable
no anti-arpscan trap enable
Function: Enable ARP scanning prevention SNMP Trap function; no anti-arpscan trap
enable” command disable ARP scanning prevention SNMP Trap function.
Parameters: None.
Default Settings: Disable ARP scanning prevention SNMP Trap function.