21
Examples
# Display ARP snooping entries for VLAN 2.
<Sysname> display arp snooping vlan 2
IP Address MAC Address VLAN ID Interface Aging Status
3.3.3.3 0003-0003-0003 2 HGE1/0/1 20 Valid
3.3.3.4 0004-0004-0004 2 HGE1/0/2 5 Invalid
# Display the number of the ARP snooping entries.
<Sysname> display arp snooping count
Total entries: 2
Table 2 Command output
Field Description
IP Address IP address in an ARP snooping entry.
MAC Address MAC address in an ARP snooping entry.
VLAN ID ID of the VLAN to which the ARP snooping entry belongs.
Interface Input interface in an ARP snooping entry.
Aging
Aging time for an ARP snooping entry in minutes.
If the member device learns an ARP snooping entry from another member, the
member device cannot learn the aging time of the entry, and this field displays
N/A
.
Status Status of an ARP snooping entry:
Valid
,
Invalid
,
Collision
.
Total entries Number of ARP snooping entries.
Related commands
reset arp snooping
reset arp snooping
Use reset arp snooping to delete ARP snooping entries.
Syntax
reset arp snooping [ ip ip-address | vlan vlan-id ]
Views
User view
Predefined user roles
network-admin
Parameters
ip ip-address: Deletes the ARP snooping entry for the specified IP address.
vlan vlan-id: Deletes ARP snooping entries for the specified VLAN. The value range for the vlan-id
argument is 1 to 4094.
Usage guidelines
If you do not specify any option, the command deletes all ARP snooping entries.
Examples
# Delete ARP snooping entries for VLAN 2.