vlan-id
vlan-id (VLAN ID to be bound to a logical interface)
Syntax
Hierarchy Level
[edit interfacesinterface-nameunitlogical-unit-number],
[edit logical-routerslogical-router-nameinterfacesinterface-nameunitlogical-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
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
Hierarchy Level
[edit interfacesinterface-nameunitlogical-unit-numberinput-vlan-map],[edit interfacesinterface-nameunitlogical-unit-numberoutput-vlan-map],
[edit logical-routerslogical-router-nameinterfacesinterface-nameunitlogical-unit-numberinput-vlan-map],
[edit logical-routerslogical-router-nameinterfacesinterface-nameunitlogical-unit-numberoutput-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
swapstatement and thevlan-idstatement at the[edit interfacesinterface-nameunitlogical-unit-numberoutput-vlan-map]hierarchy level. If you include theswapstatement in the output VLAN map, the VLAN ID in the outgoing frame is rewritten to thevlan-idstatement you include at the[edit interfacesinterface-nameunitlogical-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.