1-8
Displaying and Maintaining ARP
To do…
Use the command…
Remarks
Display ARP entries in the ARP table
display arp
[ [
all
|
dynamic
|
static
]
[
slot
slot-number
] |
vlan vlan-id
|
interface
interface-type
interface-number
] [ [
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
] |
count
]
Available in any view
Display the ARP entry for a specified IP
address
display arp ip-address
[
slot
slot-number
] [
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display the ARP entries for a specified
VPN instance
display arp vpn-instance
vpn-instance-name
[
|
{
begin
|
exclude
|
include
}
regular-expression
|
count
]
Available in any view
Display the aging time for dynamic
ARP entries
display arp timer aging
Available in any view
Clear ARP entries from the ARP table
reset arp
{
all
|
dynamic
|
static
|
slot
slot-number
|
interface
interface-type
interface-number
}
Available in user view
Clearing ARP entries from the ARP table may cause communication failures.
ARP Configuration Example
Network requirements
As shown in
, hosts are connected to the Switch, which is connected to the Router through
interface GigabitEthernet1/0/1 belonging to VLAN 10. The IP address of Router is 192.168.1.1/24. The
MAC address of the Router is 00e0-fc01-0000.
To enhance communication security for the Router and Switch, static ARP entries are configured on
Switch.