Related commands: arp detection enable, arp detection trust
Syntax
# Enable ARP restricted forwarding in VLAN 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] vlan 1
[Sysname-vlan1] arp restricted-forwarding enable
display arp detection statistics interface
Syntax
display arp detection statistics interface interface-type interface-number
View
Any view
Parameters
interface-type interface-number: Type and number of a port.
Description
Use the display arp detection statistics interface command to display the statistics of ARP attack
detection state, ARP trusted port state, and discarded invalid ARP packets ( those failed to pass ARP
attack detection) on the specified port.
If ARP attack detection is disabled, the statistics of ARP trusted port state and discarded invalid ARP
packets will not be displayed.
Examples
# Display ARP detection statistics on Ethernet 1/0/10.
<Sysname> display arp detection statistics interface ethernet1/0/10
ARP DETECTION : ENABLE
ARP PORT TRUST : DISABLE
INVALID ARP PACKETS
Table 2-1 Description on the fields of the display arp detection statistics interface command
Field
ARP DETECTION
ARP PORT TRUST
INVALID ARP PACKETS
: 31
ARP attack detection state: enabled/disabled
ARP trusted port state: enabled/disabled
Number of discarded invalid ARP packets (those failed to pass
ARP attack detection)
2-8
Description