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>
Clears ARP table entries for a specific port. Specifies a physical port on the switch. Some switches (such as the Aruba 8400 Switch Series), use the format
member/slot/port
(for example,1/1/1
). Other switches useslot/port
(for example,1/1
).vrf
Selects VRFs as follows:
all-vrfs
- Clears IPv4 and IPv6 neighbor entries for all VRFs
<VRF-NAME>
Clears IPv4 and IPv6 neighbor entries for the given VRF.
Authority
Administrators
Examples
Clearing all IPv4 and IPv6 neighbor ARP entries for the default VRF instance:
switch# clear arp
Clearing all ARP neighbor entries for the specified 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