Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show ethernet-switching mac-ip-table

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show ethernet-switching mac-ip-table
<brief | count | detail | detail | extensive>
<instance>
<kernel >
<vlan-name (all | vlan-name)>

Description

Displays the MAC-IP address for all IPv4 (ARP) and IPv6 (ND) bindings for VLANs in routing instances where the instance-type is ethernet-switching.

Options

brief | detail |extensive | summary

(Optional) Display the specified level of output.

instance instance-name

(Optional) Display the MAC-IP address information for the specified routing instance.

kernel

(Optional) Display the MAC-IP address entries in the kernel

vlan-name (all | vlan-name)

(Optional) Display the MAC-IP address entries for all VLANs or for a specified VLAN.

Required Privilege Level

maintenance

Output Fields

Table 1 lists the output fields for the show ethernet-switching mac-ip-table command. Output fields are listed in the approximate order in which they appear.

Table 1: show ethernet-switching mac-ip-table Output Fields

Field Name

Field Description

Level of Output

IP address

IP address associated with the ethernet switching instance type.

All levels

MAC address

MAC address

All levels

Flags

MAC IP flags: Identifies : statically installed MAC-IP entries.

  • S—Statically installed MAC-IP entries.

  • D—Dynamic installed MAC-IP address entries.

  • L—Locally learned MAC-IP address entries

  • R— MAC-IP address entries that are learnt from a remote device via the control plane.

  • Lp—Local proxy MAC IP address entries.

    In multihoming networks, a device that learns of a MAC address as a DLR (local and remote) and also learns the MAC-IP address binding remotely will send a MAC-IP address notification message (as if it was generated by traffic). This entry is identified as a local proxy address. The remote multihomed peer identifies the corresponding MAC-IP entry as remote proxy address.

  • Rp—Remote proxy MAC IP address entries. See Lp flag for more information

  • K—MAC-IP address entries that are installed in the kernel.

  • RT—Destination Route that corresponds to an installed entry.

  • AD—Advertised to remote device.

  • NAD—MAC-IP address entries on disabled IRB interfaces. These entries are not advertised.

  • RE—Specifies temporary ARP/ND entries while the device is waiting for a response from an arp or network solicitation request. The entries are removed after three unsuccessful request attempts.

  • RO—Router. This applies only to IPv6 MAC-IP addresses. Refer to RFC 4861 for more information on the Router flag.

  • OV—Override.This applies only to IPv6 MAC-IP addresses. Refer to RFC 4861 for more information on the Override flag.

  • UR—Unresolved MAC-IP address entries. This flag is specific to the Junos EVO environment
  • RTS—Device skipped adding an EVPN Type 2 route in favor of an EVPN Type 5 route with a matching prefix (extensive output displays dest_route_skipped).

Brief, detail

GBP Tag

Assigned Group Based Policy (GBP) from 1 through 65535.

All levels

Logical Interface

The logical interface associated with the routing instance.

Brief, detail

Active Source

The source of the learned MAC-IP address entry. Displays the ESI or router ID.

All levels

Routing Instance

Information on the Routing instance where the MAC-IP address entry was learned.

  • Bridging domain

  • MAC-IP local mask

  • MAC-IP remote mask

  • MAC-IP RPD flags

  • MAC-IP flags

Extensive

BD ID

Bridge Domain ID

Brief

Sample Output

show ethernet-switching mac-ip-table

content_copy zoom_out_map
user@host> show ethernet-switching mac-ip-table 
MAC IP flags  (S - Static, D - Dynamic, L - Local , R - Remote, Lp - Local Proxy,​
               Rp - Remote Proxy, K - Kernel, RT - Dest Route, (N)AD - (Not) Advt to remote,​
               RE - Re-ARP/ND, RO - Router, OV - Override, Ur - Unresolved,​
               RTS - Dest Route Skipped, RGw - Remote Gateway, GBP - Group Based Policy,​
               RTF - Dest Route Forced)​
 Routing instance : default-switch​
 Bridging domain : vlan1000​
   IP                           MAC                  Flags              GBP    Logical            Active​
   address                      address                                 Tag    Interface          source​
   10.1.1.2                    c8:e7:f0:4b:d1:00    S,K                       irb.1000       ​
   10.1.1.1                    dc:38:e1:e0:30:c0    DL,K,RT,AD          300   ae0.0           ​
   192.168.1.1                 00:21:59:aa:77:f0    SR,K,RT,RGw               vtep.32769         18.18.18.18                  ​
   192.168.1.100               00:00:5e:00:01:01    S,K        

show ethernet-switching mac-ip-table

content_copy zoom_out_map
user@host> show ethernet-switching mac-ip-table
vlan-name v100
MAC IP flags  (S - Static, D - Dynamic, L - Local , R - Remote, K - Kernel, RT - Dest Route,
               AD - Advt to remote, RE - Re-ARP/ND, RO - Router, OV - Override)
 Routing instance : default-
 Bridging domain : v100
   IP                           MAC                  Flags             Logical            Active
   address                      address                                Interface          source
   10.1.1.1                     00:11:00:00:00:01    DR,K,RT           vtep.32769         101.1.1.1
   2001::192:100:1:1            00:00:10:00:11:00    DR,K,RT           vtep.32769         101.1.1.1
   fe80::205:8600:6471:e600     00:00:10:00:11:00    DR,K,RT           vtep.32769         101.1.1.1
   10.0.1.2                     00:00:10:00:22:00    S,K
   2001::192:100:1:2            00:00:10:00:22:00    S,K
   fe80::205:8600:6471:d900     00:00:10:00:22:00    S,K
   10.0.1.3                     00:00:10:00:33:00    DR,K,RT           vtep.32771         103.1.1.1
   2001::192:100:1:3            00:00:10:00:33:00    DR,K,RT           vtep.32771         103.1.1.1
   fe80::205:8600:6471:7400     00:00:10:00:33:00    DR,K,RT           vtep.32771         103.1.1.1
   10.0.1.4                     00:00:10:00:44:00    DR,K,RT           vtep.32770         104.1.1.1
   2001::192:100:1:4            00:00:10:00:44:00    DR,K,RT           vtep.32770         104.1.1.1
   fe80::205:8600:6471:c000     00:00:10:00:44:00    DR,K,RT           vtep.32770         104.1.1.1
   10.0.1.254                   40:00:10:11:11:00    S,K               esi.1874           05:00:00:00:64:00:00:00:64:00
   2001::192:100:1:254          60:00:10:11:11:00    S,K               esi.1874           05:00:00:00:64:00:00:00:64:00

show ethernet-switching mac-ip-table extensive

content_copy zoom_out_map
user@host> show ethernet-switching mac-ip-table
extensive
IP address: 10.1.1.1
  MAC address: 00:11:00:00:00:01
  Routing instance: default
   Bridging domain: v100
   MAC-IP local mask: 0x0000000000000000
   MAC-IP remote mask: 0x8000000000000000
   MAC-IP RPD flags: 0x00000081
   MAC-IP flags: remote,kernel

show ethernet-switching mac-ip-table kernel

content_copy zoom_out_map
user@host> show ethernet-switching mac-ip-table
kernel
    BD       IP                           MAC                  Logical           Flags
    id       address                      address              Interface
    2        192.168.1.1                  00:21:59:aa:77:f0    irb.1             0x00000209
    2        192.168.1.100                00:00:5e:00:01:01    irb.1             0x00000609
    3        192.168.2.1                  00:21:59:aa:77:f0    irb.2             0x00000209
    3        192.168.2.100                00:00:5e:00:01:01    irb.2             0x00000609
    4        192.168.3.1                  00:21:59:aa:77:f0    irb.3             0x00000209
    4        192.168.3.100                00:00:5e:00:01:01    irb.3             0x00000609
    5        192.168.4.1                  00:21:59:aa:77:f0    irb.4             0x00000209
    5        192.168.4.100                00:00:5e:00:01:01    irb.4             0x00000609

show ethernet-switching mac-ip-table vlan-name v1 (with EVPN Type 2 and EVPN Type 5 route coexistence)

content_copy zoom_out_map
user@device> show ethernet-switching mac-ip-table vlan-name v1

MAC IP flags  (S - Static, D - Dynamic, L - Local , R - Remote, Lp - Local Proxy,
               Rp - Remote Proxy, K - Kernel, RT - Dest Route, (N)AD - (Not) Advt to remote,
               RE - Re-ARP/ND, RO - Router, OV - Override, Ur - Unresolved,
               RTS - Dest Route Skipped, RGw - Remote Gateway)
 Routing instance : default-switch
 Bridging domain : v1
   IP                           MAC                  Flags             Logical            Active
   address                      address                                Interface          source
   10.1.1.254                   10:10:10:00:00:01    S,K               irb.1           
   2001:db8::a:1:1:fffe         20:20:20:00:00:01    S,K,RTS           irb.1           
   10.1.1.2                     c8:e7:f0:4b:d1:00    DR,K,RTS          vtep.32769         192.168.22.22 
   2001:db8::a:1:1:2            c8:e7:f0:4b:d1:00    DR,K,RTS          vtep.32769         192.168.22.22 
   fe80::cae7:f000:14b:d100     c8:e7:f0:4b:d1:00    DR,K,RT           vtep.32769         192.168.22.22 
   10.1.1.1                     dc:38:e1:e0:30:c0    S,K               irb.1           
   2001:db8::a:1:1:1            dc:38:e1:e0:30:c0    S,K               irb.1           
   fe80::de38:e100:1e0:30c0     dc:38:e1:e0:30:c0    S,K               irb.1           

show ethernet-switching mac-ip-table extensive (with EVPN Type 2 and EVPN Type 5 route coexistence)

content_copy zoom_out_map
user@device> show ethernet-switching mac-ip-table extensive c8:e7:f0:4b:d1:00 

IP address: 10.1.1.2
  MAC address: c8:e7:f0:4b:d1:00
  Routing instance: default-switch
   Bridging domain: v1
   Logical interface: vtep.32769
   IP                           MAC                  Flags             Logical            Active
   address                      address                                Interface          source
                                                                                          192.168.22.22 
   MAC-IP local mask: 0x0000000000000000
   MAC-IP remote mask: 0x0000000000000000
   MAC-IP remote-proxy mask: 0x0000000000000000
   MAC-IP RPD flags: 0x08000081
   MAC-IP flags: remote,kernel,dest_route_skipped 

IP address: 2001:db8::a:1:1:2
  MAC address: c8:e7:f0:4b:d1:00
  Routing instance: default-switch
   Bridging domain: v1
   Logical interface: vtep.32769
   IP                           MAC                  Flags             Logical            Active
   address                      address                                Interface          source
                                                                                          192.168.22.22 
   MAC-IP local mask: 0x0000000000000000
   MAC-IP remote mask: 0x0000000000000000
   MAC-IP remote-proxy mask: 0x0000000000000000
   MAC-IP RPD flags: 0x08000101
   MAC-IP flags: remote,kernel,dest_route_skipped  

IP address: fe80::cae7:f000:14b:d100
  MAC address: c8:e7:f0:4b:d1:00
  Routing instance: default-switch
   Bridging domain: v1
   Logical interface: vtep.32769
   IP                           MAC                  Flags             Logical            Active
   address                      address                                Interface          source
                                                                                          192.168.22.22 
   MAC-IP local mask: 0x0000000000000000
   MAC-IP remote mask: 0x0000000000000000
   MAC-IP remote-proxy mask: 0x0000000000000000
   MAC-IP RPD flags: 0x08000101
   MAC-IP flags: remote,kernel,dest_route
. . .

Release Information

Command introduced in Junos OS Release 17.4R2.

GBP Tag option introduced in Junos OS Release 22.4R1.

footer-navigation