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 both the inner and the outer VLAN tags of the incoming frame with a user-specified VLAN tag value, include the swap-swap statement in the input VLAN map or output VLAN map:
-
input-vlan-map {
-
swap-swap;
- }
-
output-vlan-map {
-
swap-swap;
- }
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.