Checking ARP Entries
Context
By checking ARP entries on a gateway device, the network administrator can view information about the connected users, including IP addresses, MAC addresses, and interfaces. For example, the network administrator can check ARP entry information to query the MAC address based on the IP address of a user.
In routine maintenance, you can run the commands in any view to check ARP entry information on the device.
Procedure
- Run the following commands to check ARP entries. For example, check dynamic entries, static entries, ARP entries on a specified network segment, and ARP entries on a specified interface.
Run the display arp [ all ] command to check all ARP entries.
To check the ARP entry mapping a specified IP address (for example, 10.1.1.1), run the display arp all | include 10.1.1.1 command.
Run the display arp dynamic command to check all dynamic ARP entries.
Run the display arp static command to check all static ARP entries.
Run the display arp network net-number [ net-mask | mask-length ] [ dynamic | static ] command to check ARP entries on the specified network segment.
Run the display arp interface interface-type interface-number command to check ARP entries on the specified interface.
Run the display arp vpn-instance vpn-instance-name [ dynamic | static ] command to check ARP entries in the specified VPN instance.
- Run the display arp statistics { all | interface interface-type interface-number } command to check ARP entry statistics.