Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

vlan-id (VLAN ID to Rewrite)

Syntax

vlan-id number;

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.

Description

For Gigabit Ethernet IQ and 10-Gigabit Ethernet IQ2, 10-Gigabit Ethernet LAN/WAN PIC, and IQ2-E interfaces and aggregated Ethernet using Gigabit Ethernet IQ interfaces, specify the line VLAN identifiers to be rewritten at the input or output interface.

You cannot include the vlan-id statement with the swap statement, swap-push statement, push-push statement, or push-swap statement at the [edit interfaces interface-name unit logical-unit-number output-vlan-map] hierarchy level. If you include any of those statements in the output VLAN map, the VLAN ID in the outgoing frame is rewritten to the vlan-id statement that you include at the [edit interfaces interface-name unit logical-unit-number] hierarchy level.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Published: 2013-02-13

Published: 2013-02-13