On Ethernet IQ and IQ2 interfaces, on MX-series router Gigabit Ethernet, Tri-Rate Ethernet copper, and 10-Gigabit Ethernet interfaces, and on aggregated Ethernet interfaces using Gigabit Ethernet IQ2 or 10-Gigabit Ethernet PICs on MX-series routing platforms, to remove the outer VLAN tag of the frame and replace the inner VLAN tag of the frame with a user-specified VLAN tag value, include the pop-swap statement in the input VLAN map or output VLAN map:
-
input-vlan-map {
-
pop-swap;
- }
-
output-vlan-map {
-
pop-swap;
- }
The inner tag becomes the outer tag in the final frame.
You can include this statements a the following hierarchy levels:
See Table 50 and Table 51 for information about configuring inner and outer VLAN ID values and inner and outer TPID values required for VLAN maps.