display arp anti-attack source-mac
Syntax
display arp anti-attack source-mac { slot slot-number | interface interface-type interface-number } [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface interface-type interface-number: Displays attacking MAC addresses detected on the interface.
slot slot-number: Displays attacking MAC addresses detected on a specified switch. The slot-number argument specifies the device ID, and it must be 1.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display arp anti-attack source-mac to display attacking MAC addresses detected by source MAC-based ARP attack detection.
If no interface is specified, the display arp anti-attack source-mac command displays attacking MAC addresses detected on all the interfaces.
Examples
# Display the attacking MAC addresses detected by source MAC-based ARP attack detection.
<Sysname> display arp anti-attack source-mac slot 1 Source-MAC VLAN ID Interface Aging-time 23f3-1122-3344 4094 Eth1/0/1 10 23f3-1122-3355 4094 Eth1/0/2 30 23f3-1122-33ff 4094 Eth1/0/3 25 23f3-1122-33ad 4094 Eth1/0/4 30 23f3-1122-33ce 4094 Eth1/0/5 2