Description

Users often see an error message when they try clearing ARP resolution of certain hostnames.

Symptoms

When the SRX is configured with routing instances, like Virtual Routers, the ARP entries learned from the interfaces configured under those Virtual Routers cannot be cleared directly.

When the following operational mode command is run on the SRX, it shows the ARP entries learned from all the inet tables, including the default inet.0.

root> show arp no-resolve
However, the following command clears the ARP entries learned only through the default inet.0 table.
root> clear arp hostname <hostname>
When ARP entries are learned through the routing instances (for example a Virtual Router), and when you try deleting the ARP entry for them, using the same command, you would get an error message as shown below:
root> clear arp hostname <hostname-learnt-from-virtual-router> error: no entry for <hostname-learnt-from-virtual-router>

Solution

In order to delete the ARP entry for the hostname learned through the different inet table, enter the following command:

root> clear arp vpn <routing-instance-name> hostname <hostname-learned-from-virtual-router>