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 replace the outer VLAN tag of the incoming frame with a user-specified VLAN tag value, include the swap-push statement in the input VLAN map or output VLAN map:
-
input-vlan-map {
-
swap-push;
- }
-
output-vlan-map {
-
swap-push;
- }
A user-specified outer VLAN tag is pushed in front. The outer tag becomes an inner tag in the final frame.
You can include this statement at 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.