Displaying and maintaining ARP
CAUTION:
Clearing ARP entries from the ARP table might cause communication failures.
Task
Display ARP entries in the ARP
table.
Display the ARP entry for a
specified IP address.
Display the ARP entries for a
specified VPN instance.
Display the age timer for dynamic
ARP entries.
Clear ARP entries from the ARP
table.
ARP configuration examples
Static ARP entry configuration example
Network requirements
As shown in
interface Ethernet 1/0/1 in VLAN 10. The IP and MAC addresses of the router are 192.168.1.1/24 and
00e0-fc01-0000 respectively.
To prevent malicious users from attacking the switch and enhance security for communications between
the router and switch, configure a static ARP entry for the router on the switch.
Command
display arp [ [ all | dynamic | static ] [ slot
slot-number ] | vlan vlan-id | interface
interface-type interface-number ] [ count |
verbose ] [ | { begin | exclude | include }
regular-expression ]
display arp ip-address [ slot slot-number ]
[ verbose ] [ | { begin | exclude | include }
regular-expression ]
display arp vpn-instance vpn-instance-name
[ count ] [ | { begin | exclude | include }
regular-expression ]
display arp timer aging [ | { begin | exclude
| include } regular-expression ]
reset arp { all | dynamic | static | slot
slot-number | interface interface-type
interface-number }
Figure
4, hosts are connected to the switch, which is connected to the router through
7
Remarks
Available in any view
Available in any view
Available in any view
Available in any view
Available in user view