display arp snooping
Use display arp snooping to display ARP snooping entries.
Syntax
display arp snooping [ vlan vlan-id ] [ slot slot-number ] [ count ]
display arp snooping ip ip-address [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vlan vlan-id: Displays ARP snooping entries for a VLAN. The vlan-id argument is in the range of 1 to 4094.
count: Displays the number of the current ARP snooping entries.
ip ip-address: Displays the ARP snooping entry for the specified IP address.
slot slot-number: Specifies an IRF member device by its member ID.
Usage guidelines
If you do not specify any keywords or arguments, the command displays all ARP snooping entries.
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 XGE1/0/1 20 Valid 3.3.3.4 0004-0004-0004 2 XGE1/0/2 5 Invalid
# Display the number of the current 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. |
Status | Status of an ARP snooping entry: Valid, Invalid, Collision. |
Total entries | Number of ARP snooping entries. |
Related commands
reset arp snooping