466
Syntax
display arp detection statistics
[
interface
interface-type interface-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
interface
interface-type interface-number
: Displays the ARP detection statistics of a specific
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.
Examples
# Display the ARP detection statistics of all 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
GE3/0/1(U) 40 0 0 78
GE3/0/2(U) 0 0 0 0
GE3/0/3(T) 0 0 0 0
GE3/0/4(U) 0 0 30 0
Table 82 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).
reset arp detection statistics
Use
reset arp detection statistics
to clear ARP detection statistics of a specific interface. If you do
not specify any interface, this command clears the statistics of all interfaces.