clear arp
Syntax
clear arp <all> <hostname hostname> <interface interface-name> <logical-system logical-system-name> <tenant name> <vpn vpn>
Description
Remove entries from the Address Resolution Protocol (ARP) table for the current CLI
view. To clear entries for a specific logical system, you must first enter the
set cli logical-system logical-system-name
command, and then issue the clear arp
command.
Options
all | Clear all entries from the ARP table. |
hostname hostname | (Optional) Clear only the specified host entry from the ARP table. |
interface interface-name | (Optional) Clear entries only for the specified interface from the ARP table. |
logical-system logical-system-name | (Optional) Clear entries for only the specified logical system from the ARP table (only available in main router context). |
tenant name | (Optional) Clear entries for only the specified tenant from the ARP table (only available in main router context). |
vpn <routing-instance-name> | (Optional) Clear entries from the ARP table for the specified
routing
instance.
You can also use |
Required Privilege Level
clear
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
clear arp all
user@host> clear arp all 192.168.71.254 deleted 192.168.65.46 deleted 192.168.64.10 deleted 10.0.12.14 deleted 10.0.17.14 deleted
clear arp logical-system ls1
user@host> clear arp logical-system ls1 192.168.71.254 deleted 192.168.65.46 deleted 192.168.64.10 deleted 10.0.12.14 deleted 10.0.17.14 deleted
Release Information
Command introduced before Junos OS Release 7.4.
all
option introduced in Junos OS Release 14.2.
tenant option added in Junos OS Release 18.3.