display arp detection statistics
Syntax
display arp detection statistics [ 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 the ARP detection statistics of a specified interface.
|: 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 detection statistics to display statistics about ARP detection. This command only displays numbers of discarded packets. If no interface is specified, the statistics of all the interfaces will be displayed.
Examples
# Display the ARP detection statistics of all the interfaces.
<Sysname> display arp detection statistics State: U-Untrusted T-Trusted ARP packets dropped by ARP inspect checking: Interface(State) IP Src-MAC Dst-MAC Inspect Eth1/0/1(U) 40 0 0 78 Eth1/0/2(U) 0 0 0 0 Eth1/0/3(T) 0 0 0 0 Eth1/0/4(U) 0 0 30 0
Table 50: Command output
Field | Description |
---|---|
Interface(State) | State T or U identifies a trusted or untrusted port. |
IP | Number of ARP packets discarded due to invalid source and destination IP addresses. |
Src-MAC | Number of ARP packets discarded due to invalid source MAC address. |
Dst-MAC | Number of ARP packets discarded due to invalid destination MAC address. |
Inspect | Number of ARP packets that failed to pass ARP detection (based on static IP Source Guard binding entries/DHCP snooping entries/802.1X security entries/OUI MAC addresses). |