JUNIPER MAC AND ARP COMMANDS GUIDE
==================================
1. STANDARD L2 AND L3 COMMANDS
-----------------------------
1.1. Layer 2 (L2) – Local MAC Address Table
Command:
show ethernet-switching table
Example Output:
MAC Address VLAN Logical interface Age Flags
[Link] vlan10 ge-0/0/1.0 180 D
Optional Filters:
show ethernet-switching table vlan <vlan-id>
show ethernet-switching table interface <interface-name>
1.2. Layer 3 (L3) – ARP Table
Command:
show arp
Example Output:
MAC Address Address Interface Flags
[Link] [Link] ge-0/0/1.0 none
2. VPN AND VPLS SCENARIOS
-------------------------
2.1. L2VPN – MAC Addresses over Pseudowires
Command:
show l2vpn mac-table
Example Output:
MAC Address Route Distinguisher Label Interface
[Link] 65000:100 12345 lsi.100
Optional Filters:
show l2vpn mac-table mac-address <mac-address>
show l2vpn mac-table instance <instance-name>
2.2. L3VPN – ARP Table in a VRF
Command:
show arp routing-instance <vrf-name>
show arp no-resolve routing-instance <vrf-name>
Example Output:
MAC Address Address Interface Flags
[Link] [Link] ge-0/0/0.100 none
2.3. VPLS Xconnect – MAC and Forwarding Info
Check VPLS Pseudowire Connections:
show vpls connection
Example Output:
VPLS Instance: vpls1
Status: Up
Remote site: [Link]
Xconnect interface: xe-0/0/2.0
Check VPLS MAC Table:
show vpls mac
Example Output:
MAC Address VPLS Instance Interface
[Link] vpls1 xe-0/0/2.0
Optionally:
show vpls forwarding-table
3. SUMMARY TABLE OF COMMANDS
----------------------------
| Scenario | Purpose | Command Example
|
|------------------|------------------------------------------|--------------------
----------------------------------|
| L2 | MAC address table | show ethernet-
switching table |
| L3 | ARP table | show arp
|
| L2VPN | MAC over pseudowires | show l2vpn mac-
table |
| L3VPN | ARP in VRF | show arp routing-
instance <vrf-name> |
| VPLS Xconnect | VPLS MAC/connection info | show vpls
connection, show vpls mac |