533
Parameters
interface interface-type interface-number: Displays the ARP detection statistics of the specified interface.
Usage guidelines
This command displays numbers of packets discarded by user validity check and ARP packet validity
check. If you do not specify any interface, the command displays statistics for all interfaces.
Examples
# Display the ARP detection statistics for 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
GE2/1/1(U) 40 0 0 78
GE2/1/2(U) 0 0 0 0
GE2/1/3(T) 0 0 0 0
GE2/1/4(U) 0 0 30 0
Table 76 Command output
Field Descri
tion
State
State of an interface:
• U—ARP untrusted interface.
• T—ARP trusted interface.
Interface(State) Inbound interface of ARP packets. State specifies the port state, trusted or untrusted.
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 failed to pass user validity check.
reset arp detection statistics
Use reset arp detection statistics to clear ARP detection statistics.
Syntax
reset arp detection statistics [ interface interface-type interface-number ]
Views
User view
Predefined user roles
network-admin
Parameters
interface interface-type interface-number: Clears the ARP detection statistics of the specified interface.
Usage guidelines
If you do not specify any interface, this command clears the statistics of all interfaces.