clear arp
Syntax
clear arp [port <PORT-ID> | vrf {all-vrfs | <VRF-NAME>}]
Description
Clears IPv4 and IPv6 neighbor entries from the ARP table. If you do not specify any parameters, ARP table entries are cleared for the default VRF.
Command context
Manager (#
)
Parameters
port <PORT-ID>
Specifies a physical port on the switch. Format:
member/slot/port
. For example:1/1/1
. .all-vrfs
- Selects all VRFs.
<VRF-NAME>
Specifies the name of a VRF. Default: default.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Clearing all IPv4 and IPv6 neighbor ARP entries for the default VRF:
switch# clear arp
Clearing all ARP neighbor entries for a port ():
switch# clear arp 1/1/35
Clearing all IPv4 and IPv6 neighbor ARP entries for all VRFs:
switch# clear arp vrf all-vrfs
Clearing all IPv4 and IPv6 neighbor ARP entries for a specific VRF instance:
switch# clear arp vrf RED