How to flush the arp cache on an APM

book

Article ID: 167904

calendar_today

Updated On:

Products

XOS

Issue/Introduction

During troubleshooting of a layer 2 issue, you may need to flush the ARP cache.N/A

Cause

Flushing the arp cache.

Resolution

To display and flush the ARP cache

To display the ARP cache on an APM, rsh to the blade and run the following command to flush all interfaces:

# ip -statistics neigh show all

1.1.1.20 dev eth0 lladdr 00:03:d2:00:01:0d REACHABLE
192.168.32.1 dev mgmt lladdr 00:03:d2:f1:2b:03 REACHABLE

To flush ARP cache:

# ip neigh show all

Adding the statistics parameter includes informational messages:

fw_1 (wa): root$ ip -statistics neigh flush all

*** Round 1, deleting 1 entries ***

*** Round 2, deleting 1 entries ***
*** Flush is complete after 2 rounds ***


You can also flush a specific interface using the command:

ip -statistics neigh flush dev eth0

After flushing the cache you must also restart cbsvapcfgd on the APM blade. If it is not restarted, permanent ARP entries from the CPM may not come back.
 

Workaround

N/A