Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

clear arp

Syntax

clear arp <hostname hostname><logical-system logical-system-name><vpn vpn>

Release Information

Command introduced before Junos OS Release 7.4.

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

none

Clear all entries from the ARP table.

hostname hostname

(Optional) Clear the specified host entry only.

logical-system logical-system-name

(Optional) Clear entries for the specified logical system; only available in main router context.

vpn vpn

(Optional) Clear entries from the ARP table for the specified virtual private network (VPN).

Required Privilege Level

clear

List of Sample Output

clear arp
clear arp logical-system ls1

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

clear arp

user@host> clear arp
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

Published: 2013-03-14