Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


vlan-id inner-all


Hierarchy Level


Enable qualified MAC learning on the second (inner) VLAN tag of an ingress 2-tagged packet, without removing the first (outer) tag implicitly. For a single vlan-tagged packet, qualified MAC learning happens on VLAN 4096. If the ingress packet has more than two tags, all tags beyond the second tag are treated as part of data.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Command introduced in Junos OS Release 17.4R1.