Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

clear arp

Syntax

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 clear arp vpn <routing-instance-name> hostname <hostname-learned-from-routing-instance> to delete a specific entry.

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

clear arp logical-system ls1

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.