Description

How do you clear ARP entries for interfaces configured within a logical-system.

Solution

In the CLI, execute the command  set cli logical-router [name] .  Once the CLI has reached the logical router hierarchy, execute  show arp   to see just the ARP entries for that logical router. In this example, 'test1' is name of logical system:
 

lab@test-re0> set cli logical-system test1
Logical system: test1

lab@test-re0:test1> show arp
MAC Address Address Name Interface Flags
00:1d:b5:6c:66:79 1.1.1.2 1.1.1.2 ge-3/1/1.0 none
00:1d:b5:6c:66:7b 2.2.2.2 2.2.2.2 ge-3/1/3.0 none
Total entries: 2

Using the command ' clear arp ' will clear the arp entries from the interfaces in this logical system:
 
lab@test-re0:test1> clear arp
2.2.2.2 deleted
1.1.1.2 deleted

lab@test-re0:test1> show arp

lab@test-re0:test1>

 

Former Article Id

23282

Modification History

2019-06-24: Minor updates to clarify that Test1 is the logical system.