[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

vlan-id

See the following sections:

vlan-id (VLAN ID to Be Bound to a Logical Interface)

vlan-id number;

Hierarchy Level

[edit interfaces interface-name unit logical-unit-number],
[edit logical-routers logical-router-name interfaces interface-name unit logical-unit-number]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

For Fast Ethernet, Gigabit Ethernet, and Aggregated Ethernet interfaces only, binds a 802.1Q VLAN tag ID to a logical interface.

Options

number—A valid VLAN identifier.

For aggregated Ethernet, 4-port, 8-port, and 12-port Fast Ethernet PICs, and for management and internal Ethernet interfaces, 1 through 1023.

For 48-port Fast Ethernet and Gigabit Ethernet PICs, 1 through 4094.
VLAN ID 0 is reserved for tagging the priority of frames.

Usage Guidelines

See Configuring Mixed Tagging.

Required Privilege Level

interface—To view this statement in the configuration.

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

vlan-id (VLAN ID to Rewrite)

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-routers logical-router-name interfaces interface-name unit logical-unit-number input-vlan-map],
[edit logical-routers logical-router-name interfaces interface-name unit logical-unit-number output-vlan-map]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

For Gigabit Ethernet IQ and10-Gigabit Ethernet IQ2 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 you include at the [edit interfaces interface-name unit logical-unit-number] hierarchy level.

Usage Guidelines

See Rewriting the VLAN Tag and Binding a VLAN ID to a Logical Interface.

Required Privilege Level

interface—To view this statement in the configuration.

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


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]