Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show mac-vrf forwarding vlans



Display information about VLANs configured on mac-vrf routing instances.


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.



Display brief information for all VLANs.

brief | detail | extensive

(Optional) Display the specified level of output.

instance instance-name

(Optional) Display information about the specified routing instance.


(Optional) Display information about the operational routing instances.

vlan vlan-name

(Optional) Display information about the specified VLAN.

interface interface-name

(Optional) Display information about the specified logical interface.

Additional Information

On MX Series routers and the EX9200 line of switches, this command hierarchy is an alias for the show bridge domain command hierarchy.

On QFX Series switches, this command hierarchy is an alias for the show vlans command hierarchy.

Required Privilege Level


Output Fields

Table 1: show mac-vrf forwarding vlans Output Fields

Field Name

Field Description

Level of Output

VLAN name

Name of the VLAN.

none, brief


802.1Q tag applied to this VLAN. If none is displayed, no tag is applied.

All levels


Interface associated with learned MAC addresses or All-members option (flood entry). An asterisk (*) beside the interface indicates that the interface is UP.

All levels

Routing instance

Name of the routing instance on which the VLAN is configured. All levels

Number of interfaces

Number of tagged and untagged interfaces associated with a VLAN.

detail, extensive

Internal Index

VLAN index internal to Junos OS software.



Manner in which the VLAN was created: static or learn.


Total MAC count

Total number of 802.1Q-tagged and untagged VLANs on the device.

detail, extensive

VXLAN Enabled

Shows whether VXLAN (Virtual Extensible LAN) is enabled within the mac-vrf routing instance.

detail, extensive

MAC aging time

Time, in seconds, for the MAC entry to age out.

detail, extensive

Sample Output

show mac-vrf forwarding vlans brief

Release Information

Command introduced in Junos OS Release 20.4R1.