mac

247
enable‖ command disable ARP scanning prevention SNMP Trap function.
Parameters: None.
Default Settings: Disable ARP scanning prevention SNMP Trap function.
Command Mode: Global configuration mode
User Guide: After enabling ARP scanning prevention SNMP Trap function, users will
receive Trap message whenever a port is closed or recovered by ARP scanning
prevention, and whenever IP t is closed or recovered by ARP scanning prevention.
Example: Enable ARP scanning prevention SNMP Trap function of the switch.
Switch(config)#anti-arpscan trap enable
11.10 show anti-arpscan
Command: show anti-arpscan [trust [ip | port | supertrust-port] |prohibited [ip |
port]]
Function: Display the operation information of ARP scanning prevention function.
Parameters: None.
Default Settings: Display every port to tell whether it is a trusted port and whether it is
closed. If the port is closed, then display how long it has been closed. Display all the
trusted IP and disabled IP.
Command Mode: Admin Mode
User Guide: Use show anti-arpscan trust port if users only want to check trusted
ports. The reset follow the same rule.
Example: Check the operating state of ARP scanning prevention function after enabling
it.
Switch(config)#show anti-arpscan
Total port: 28
Name Port-property beShut shutTime(seconds)
Ethernet1/1 untrust N 0
Ethernet1/2 untrust N 0
Ethernet1/3 untrust N 0
Ethernet1/4 untrust N 0
Ethernet1/5 untrust N 0
Ethernet1/6 untrust N 0
Ethernet1/7 untrust N 0
Ethernet1/8 untrust N 0
Ethernet1/9 untrust N 0
Ethernet1/10 untrust N 0