swap
Syntax
swap;
Hierarchy Level
[edit interfaces interface-name unit logical-unit-number input-vlan-map], [edit interfaces interface-name unit logical-unit-number output-vlan-map], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number input-vlan-map], [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number output-vlan-map]
Description
Specify the VLAN rewrite operation to replace a VLAN tag. The outer VLAN tag of the frame is overwritten with the user-specified VLAN tag information.
On MX Series routers, you can enter this statement on Gigabit Ethernet IQ and 10-Gigabit Ethernet IQ2 and IQ2-E interfaces, 10-Gigabit Ethernet LAN/WAN PIC, aggregated Ethernet using Gigabit Ethernet IQ interfaces, and 100-Gigabit Ethernet Type 5 PIC with CFP. On EX Series switches, you can enter this statement on Gigabit Ethernet, 10-Gigabit Ethernet, 40-Gigabit Ethernet, and aggregated Ethernet interfaces.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.