clear arp
Clears some or all Address Resolution Protocol (ARP) entries.
Syntax
clear arp
[
ethernet
slot
/
port
|
ip
ip-address
|
ve
ve-id
]
[
no-refresh
]
[
vrf
vrf-name
]
Parameters
-
ethernet
- Specifies a physical Ethernet interface.
- slot
- Specifies a valid slot number. For devices
that do not support line cards, specify 0.
- port
- Specifies a valid port number.
-
ip
ip-address
- Specifies a next-hop IP address.
-
ve
ve-id
- Specifies a virtual Ethernet (VE) interface.
- no-refresh
- Clears the ARP cache without resending ARP requests to the local hosts.
-
vrf
vrf-name
- Specifies a VRF instance.
Modes
Privileged EXEC mode
Usage Guidelines
If the
no-refresh keyword is not included, ARP requests are automatically triggered for the cleared entries. To avoid this triggering, include the
no-refresh keyword. It is required to include the
no-refresh keyword, in case the number of ARP entries reaches the system threshold
Examples
The following example clears all ARP entries on the device.
device# clear arp