See the following sections:
- vlan-id number;
- [edit interfaces interface-name unit logical-unit-number],
- [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]
Statement introduced before JUNOS Release 7.4.
For Fast Ethernet, Gigabit Ethernet, and Aggregated Ethernet interfaces only, bind a 802.1Q VLAN tag ID to a logical interface.
number—A valid VLAN identifier.
For 48-port Fast Ethernet and Gigabit Ethernet PICs, 1 through 4094.
VLAN ID 0 is reserved for tagging the priority of frames.
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 family bridge],
- [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family bridge]
Statement introduced in JUNOS Release 9.2.
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.
number—The VLAN ID.
See Configuring a Logical Interface for Access Mode.
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-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]
Statement introduced before JUNOS Release 7.4.
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.
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.
- vlan-id outer-vlan-id;
- [edit interfaces interface-name unit logical-unit-number],
- [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]
Statement introduced in JUNOS Release 9.0.
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.
outer-vlan-id—Outer VLAN ID number.
See Configuring ATM-to-Ethernet Interworking.
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.