Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

mapping-range

Syntax

Hierarchy Level

Description

Configure an access interface to map a range of C-VLANs to a range of S-VLANs. Use this statement instead of using multiple set vlans VLAN-name interface interface-name mapping (push | swap) statements to configure Q-in-Q tunneling or VLAN translation on a per-VLAN basis. This statement is particularly useful if you have used the vlan-range statement to create multiple VLANs.

Options

push—Retain the incoming tag and adds an additional VLAN tag (Q-in-Q tunneling).

swap—Swap the incoming VLAN tag with the VLAN ID tag of the S-VLAN (VLAN translation).

vlan-ID-start S-VLAN-ID—(Optional) Set the start of the S-VLAN range that the C-VLANs will be mapped to. If you omit this option, mapping begins with the first ID in the range of S-VLAN IDs (which you configure using the set vlans vlan-range statement).

Required Privilege Level

system—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 12.1.