See the following sections:
- vlan-id number;
- [edit interfaces interface-name unit logical-unit-number],
- [edit logical-routers logical-router-name interfaces interface-name unit logical-unit-number]
For Fast Ethernet, Gigabit Ethernet, and Aggregated Ethernet interfaces only, binds a 802.1Q VLAN tag ID to a logical interface.
For aggregated Ethernet, 4-port, 8-port, and 12-port Fast Ethernet PICs, and for management and internal Ethernet interfaces, 1 through 1023.
See Configuring Mixed Tagging.
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
- vlan-id number;
- [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]
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.
See Rewriting the VLAN Tag and Binding a VLAN ID to a Logical Interface.
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.