Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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]

    Release Information

    Statement introduced before Junos OS Release 7.4.

    Statement introduced in Junos OS Release 12.3R2 for EX Series switches.

    Statement introduced in Junos OS Release 13.2X51-D20 for the QFX Series.

    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.

    Published: 2014-07-23