Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Define core-facing VLAN ID ranges from which an inner VLAN ID tag can be allocated to replace the outer VLAN tag that was appended by the access node on the upstream packets to the BNG in a Layer 2 wholesale network. The tag swap occurs before the subscriber traffic is forwarded to the network service provider (NSP). You can configure up to 32 non-overlapping inner VLAN ID ranges per core-facing physical interface for VLAN-OOB subscribers.

You can add or remove ranges or increase or decrease the size of existing ranges even while Layer 2 wholesale sessions are assigned to the core-facing interface associated with the ranges. You cannot remove a range from which a VLAN ID has already been allocated. You cannot reduce a range if the new range excludes a VLAN ID that has already been allocated.



Inner (core-facing) VLAN ID tag representing the lower limit of the swap range.

  • Range: 1 through 4094.


Inner (core-facing) VLAN ID tag representing the upper limit of the swap range.

  • Range: 1 through 4094.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 17.2R1.