Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

clear arp

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
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 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

content_copy zoom_out_map
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

content_copy zoom_out_map
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.

footer-navigation