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

vlan-id

See the following sections:

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

Syntax

vlan-id number;

Hierarchy Level

[edit interfaces interface-name unit logical-unit-number],
[edit logical-systems logical-system-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, bind a 802.1Q VLAN tag ID to a logical interface.

Options

number—A valid VLAN identifier.

Range: 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 (Family Bridge)

Syntax

vlan-id number;

Hierarchy Level

[edit interfaces interface-name unit logical-unit-number family bridge],
[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family bridge]

Release Information

Statement introduced in JUNOS Release 9.2.

Description

The VLAN ID configured on the logical port. Received packets with no VLAN tags are forwarded within the bridge domain with the matching VLAN ID.

Options

number—The VLAN ID.

Range: 1 through 4095

Usage Guidelines

See Configuring a Logical Interface for Access Mode.

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)

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 Release 7.4.

Description

For Gigabit Ethernet IQ and 10-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.

vlan-id (Outer VLAN ID)

Syntax

vlan-id outer-vlan-id;

Hierarchy Level

[edit interfaces interface-name unit logical-unit-number],
[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]

Release Information

Statement introduced in JUNOS Release 9.0.

Description

The outer VLAN ID to be used in ATM-to-Ethernet interworking cross-connects. Outer VLAN IDs are converted to the ATM VPI. The outer VLAN ID must match the VPI value configured. The allowable VPI range is 0 to 255. Do not configure the outer VLAN ID to be greater than 255.

Options

outer-vlan-id—Outer VLAN ID number.

Range: 0 through 4094

Usage Guidelines

See Configuring ATM-to-Ethernet Interworking.

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]