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 mac-vrf forwarding instance

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show mac-vrf forwarding instance
<brief|detail|extensive>
<vlan-name vlan name>

Description

Display the MAC-IP addresses for all IPv4 (ARP) and IPv6 (ND) bindings for VLANs in routing instances where the instance type is MAC-VRF.

Note:

We've implemented the show mac-vrf commands on all supported platforms. If a particular platform doesn't support a specific sub-command or option, when you run the command, the output is empty. For example, show mac-vrf forwarding age is available only on MX Series platforms. If you run that command on any other supported platform, the output is empty.

Options

none Display the brief listing of MAC-IP addresses for all IPv4 (ARP) and IPv6 (ND) bindings for VLANs in routing instances where the instance type is MAC-VRF.
brief | detail | extensive

(Optional) Display the specified level of output.

vlan-name vlan-name

(Optional) Display information about the specified VLAN only.

Additional Information

On MX Series routers and the EX9200 line of switches, this command hierarchy is an alias for the show l2-learning instance command hierarchy.

On QFX Series switches, this command hierarchy is an alias for the show ethernet-switching instance command hierarchy.

Required Privilege Level

view

Output Fields

Table 1: show mac-vrf forwarding instance Output Fields
Field Name Field Description
Instance type Routing instance type
Logical system Name of the logical system associated with the routing instance
Routing instance Name of the routing instance
VLAN name Name of the associated VLAN
Index Routing instance index number
IRB index Integrated routing and bridging (IRB) index number (if any)
Flags Flags for the routing instance:
DL disable learning
SE statistics enabled
AD packet action drop
LH MAC limit hit
MI MAC+IP limit hit
Tag VLAN tags (if any)

Sample Output

show mac-vrf forwarding instance

content_copy zoom_out_map
user@host> show mac-vrf forwarding instance
Information for routing instance and VLAN:

Flags (DL - disable learning, SE - stats enabled,
       AD - packet action drop, LH - MAC limit hit,
       MI - mac+ip limit hit)

Inst Logical   Routing             VLAN name          Index IRB   Flags Tag
type system    instance                                     index
RTT  Default   __juniper_private1__                   1
RTT  Default   default-switch                         4
RTT  Default   default_internal_6                     5
RTT  Default   macvrf_v150                            6
vlan Default   macvrf_v150         v150               2     553         150
vlan Default   macvrf_v150         v250               3     554         250

show mac-vrf forwarding instance detail

content_copy zoom_out_map
user@host show mac-vrf forwarding instance detailInformation for routing instance and VLAN:
Routing instance : __juniper_private1__
   RTB index: 1
   MAC limit: 5000                 MACs learned: 0          Local Macs learned: 0
   Static MACs learned: 0          Non config static MACs learned: 0
   MAC+IP limit: 0                 MAC+IP bindings learned: 0        Local MAC+IP learned:0
   Sequence number: 0              Handle: 0x931a008
   VLAN id:
   Flags: Bridge instance,RTT is present in all PFE.
   Config service id: 0            Active service id: 0
   Config VLAN Id          :              Config operation: none
   Config params: mac tbl sz: 0, mac age: 300000, intf mac limit: 8192,
   Config MAC+IP params: mac+ip tbl sz: 0, intf mac+ip limit: 8192,
   Config static MAC count :
 Counters:
   Kernel write errors        : 0

Information for routing instance and VLAN:
Routing instance : default-switch
   RTB index: 4
   MAC limit: 0                    MACs learned: 0          Local Macs learned: 0
   Static MACs learned: 0          Non config static MACs learned: 0
   MAC+IP limit: 0                 MAC+IP bindings learned: 0        Local MAC+IP learned:0
   Sequence number: 0              Handle: 0x9317008
   VLAN id:
   Flags: Bridge instance,RTT defined,Default RTT,RTT is present in all PFE.
   Config service id: 0            Active service id: 0
   Config VLAN Id          :              Config operation: none
   Config params: mac tbl sz: 0, mac age: 300000, intf mac limit: 8192,
   Config MAC+IP params: mac+ip tbl sz: 0, intf mac+ip limit: 8192,
   Config static MAC count :
 Counters:
   Kernel write errors        : 0

Information for routing instance and VLAN:
Routing instance : default_internal_6
   RTB index: 5
   MAC limit: 5000                 MACs learned: 0          Local Macs learned: 0
   Static MACs learned: 0          Non config static MACs learned: 0
   MAC+IP limit: 0                 MAC+IP bindings learned: 0        Local MAC+IP learned:0
   Sequence number: 0              Handle: 0x9570008
   VLAN id:
   Flags: Bridge instance,RTT defined,RTT is present in all PFE.
   Config service id: 0            Active service id: 0
   Config VLAN Id          :              Config operation: none
   Config params: mac tbl sz: 0, mac age: 300000, intf mac limit: 8192,
   Config MAC+IP params: mac+ip tbl sz: 0, intf mac+ip limit: 8192,
   Config flags: mac-vrf fwd-inst
   Config static MAC count :
 Counters:
   Kernel write errors        : 0

Information for routing instance and VLAN:
Routing instance : macvrf_v150
   RTB index: 6
   MAC limit: 0                    MACs learned: 6          Local Macs learned: 0
   Static MACs learned: 0          Non config static MACs learned: 0
   MAC+IP limit: 0                 MAC+IP bindings learned: 7        Local MAC+IP learned:10
   Sequence number: 0              Handle: 0x956d008
   VLAN id:
   Flags: Bridge instance,RTT defined,vpls RTT,RTT is present in all PFE.,EVPN VXLAN
   Forwarding instance: default_internal_6    (Index: 5)
   Config service id: 0            Active service id: 0
   Config VLAN Id          :              Config operation: none
   Config params: mac tbl sz: 0, mac age: 300000, intf mac limit: 8192,
   Config MAC+IP params: mac+ip tbl sz: 0, intf mac+ip limit: 8192,
   Config flags: vpls,irb ifl,svtep ifl,evpn vxlan,mac-vrf
   Service type: vlan-aware
   Config static MAC count :
 Counters:
   Kernel write errors        : 0

Information for routing instance and VLAN:
Routing instance : macvrf_v150
 VLAN Name : v150
   RTB index: 6                    VLAN index: 2
   MAC limit: 5120                 MACs learned: 3          Local Macs learned: 0
   MAC+IP limit: 5120              MAC+IP bindings learned: 3
   Sequence number: 0              Handle: 0x957e008
   VLAN id: 150
   Flags: BD defined,VxLAN,Ageless CPMAC,Recd MAC SYNC,Sent MAC SYNC,ARP/NDP flood suppression
   Config VLAN Id          : 150          Config operation: none
   Config params: mac tbl sz: 5120, mac age: 300000, intf mac limit: 1024,
   Config MAC+IP params: mac+ip tbl sz: 5120, intf mac+ip limit: 1024,
   Config flags: vlan,VxLAN,Ageless CPMAC,no st mac cfg
   Config static MAC count : 0
   Config ownership flags: config
   Config RG Id: 0                        Active RG Id: 0
   Config service id: 0            Active service id: 0
   Config VXLAN   Id: 150                   Active VXLAN   Id: 150
   Config VXLAN MCIP: 0.0.0.0                Active VXLAN MCIP: 0.0.0.0
   Config VXLAN Decapsulate accept inner vlan: 0
   Config VXLAN Encapsulate inner vlan       : 0
   Config VXLAN Unreachable RVTEP age timer  : 300
   Config VXLAN OVSDB Enabled: No
   SVTEP L3-RTT ID:   0                      Source-VTEP IP: 10.255.1.1
   Kernel ownership flags: config
   MVRP ref count: 0
 Counters:
   Kernel write errors        : 0

Information for routing instance and VLAN:
Routing instance : macvrf_v150
 VLAN Name : v250
   RTB index: 6                    VLAN index: 3
   MAC limit: 5120                 MACs learned: 3          Local Macs learned: 0
   MAC+IP limit: 5120              MAC+IP bindings learned: 4
   Sequence number: 0              Handle: 0x9580008
   VLAN id: 250
   Flags: BD defined,VxLAN,Ageless CPMAC,Recd MAC SYNC,Sent MAC SYNC,ARP/NDP flood suppression
   Config VLAN Id          : 250          Config operation: none
   Config params: mac tbl sz: 5120, mac age: 300000, intf mac limit: 1024,
   Config MAC+IP params: mac+ip tbl sz: 5120, intf mac+ip limit: 1024,
   Config flags: vlan,VxLAN,Ageless CPMAC,no st mac cfg
   Config static MAC count : 0
   Config ownership flags: config
   Config RG Id: 0                        Active RG Id: 0
   Config service id: 0            Active service id: 0
   Config VXLAN   Id: 250                   Active VXLAN   Id: 250
   Config VXLAN MCIP: 0.0.0.0                Active VXLAN MCIP: 0.0.0.0
   Config VXLAN Decapsulate accept inner vlan: 0
   Config VXLAN Encapsulate inner vlan       : 0
   Config VXLAN Unreachable RVTEP age timer  : 300
   Config VXLAN OVSDB Enabled: No
   SVTEP L3-RTT ID:   0                      Source-VTEP IP: 10.255.1.1
   Kernel ownership flags: config
   MVRP ref count: 0
 Counters:
   Kernel write errors        : 0

Release Information

Command introduced in Junos OS Release 20.4R1.

footer-navigation