Support Support Downloads Knowledge Base Service Request Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EX/QFX] How to display and clear ARP (Address Resolution Protocol) entries

0

0

Article ID: KB17270 KB Last Updated: 04 Feb 2020Version: 2.0
Summary:

This article describes CLI commands that allow the user to view and clear ARP entries.  This includes specific entries learned under the master routing instance or on a different routing instance on EX/QFX switches.

Solution:

To display the all ARP entries that are learned on the EX/QFX Switch.

root@EX4200> show arp no-resolve   
MAC Address       Address         Interface     Flags
00:a0:68:38:92:d5 10.1.1.11       vlan.0         none
00:19:e2:57:92:c0 10.1.1.12       vlan.0         none
00:a0:68:18:42:a5 10.1.1.14       vlan.10        none
00:a0:68:68:72:d5 10.1.1.15       vlan.10        none
Total entries: 4

IP Address 10.1.1.11 and 10.1.1.12 are learned on master routing table and IP address 10.1.1.14 and 10.1.1.15 are part of "Servers" routing instance.

To clear a specific ARP entry learned under master routing table:

root@EX-4200> clear arp hostname 10.1.1.11
10.1.1.11        deleted

To clear all the ARP entries learned under master routing table:

root@EX-4200> clear arp     
10.1.1.12        deleted

To clear all ARP entries learnt under specific routing instance:

root@EX-4200> clear arp vpn  <name of the routing instance table>   
root@EX4200> show arp no-resolve   
MAC Address       Address         Interface     Flags
00:a0:68:18:42:a5 10.1.1.14       vlan.10        none
00:a0:68:68:72:d5 10.1.1.15       vlan.10        none

root@EX-4200> clear arp vpn Servers
10.1.1.14        deleted
10.1.1.15        deleted
Modification History:

2020-02-04: Added QFX series.

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Security Alerts and Vulnerabilities

Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search