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


vlan-id

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-routers logical-router-name interfaces interface-name unit logical-unit-number]

Description

For Fast Ethernet and Gigabit Ethernet interfaces only, binds 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 Configure 802.1Q VLANs.

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-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]

Description

For Gigabit Ethernet QPP interfaces only, specify the line VLAN identifiers to be rewritten at the input or output interface.

You cannot include both the the swap statement and the vlan-id statement at the [edit interfaces interface-name unit logical-unit-number output-vlan-map] hierarchy level. If you include the swap statement 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 Stack and Rewrite Gigabit Ethernet QPP VLAN Tags.

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]