mapping
Syntax
- mapping (native (push | swap) | policy | tag (push
| swap));
Hierarchy Level
Release Information
Statement introduced in JUNOS Release 9.6 for EX Series switches.
Option swap introduced in JUNOS Release 10.0 for EX Series switches.
Description
Map a specific C-VLAN to an S-VLAN. By default, the received incoming or outgoing tag is replaced with the new tag.
This statement is also required if you are configuring firewall filters to map traffic from an interface to a VLAN. If you are configuring firewall filters to map traffic from an interface to a VLAN, the mapping policy option must be configured using this command. The firewall filter also has to be configured using the vlan action for a match condition in the firewall filter stanza for firewall filters to map traffic from an interface for a VLAN.
Options
-
native—Maps untagged and priority-tagged packets to an S-VLAN.
-
policy—Maps the interface to a firewall filter policy to an S-VLAN.
-
push—Retains the incoming tag and add an additional VLAN tag instead of replacing the original tag.
-
swap—Swaps the incoming VLAN tag with the VLAN ID tag of the S-VLAN. Use of this option is also referred to as VLAN ID translation.
-
tag—Retains the incoming 802.1Q tag on the interface.
Required Privilege Level
routing—To view this statement in the
configuration.
routing-control—To add this statement
to the configuration.

