Associating VLAN IDs to VLAN Demux Interfaces
The following sections describe how to configure VLAN demux interfaces to receive and forward VLAN-tagged frames:
- Associating VLAN IDs to VLAN Demux Interfaces Overview
- Associating a VLAN ID to a VLAN Demux Interface
Associating VLAN IDs to VLAN Demux Interfaces Overview
To configure a VLAN demux interface to receive and forward VLAN-tagged frames, you must associate a VLAN ID or dual tagged (stacked) VLAN ID to the interface. Table 58 shows the configuration statements you use to associate VLAN IDs to VLAN demux interfaces, depending on the VLAN tag framing you use:
Table 58: Configuration Statements Used to Associate VLAN IDs to VLAN Demux Interfaces
| Single-Tag Framing | Dual-Tag Framing | |
|---|---|---|
| Statement Format | vlan-id vlan-id; | vlan-tags outer tpid.<vlan-id> inner tpidvlan-id; |
You can include all of the statements at the following hierarchy levels:
- [edit interfaces interface-name unit logical-unit-number]
- [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]
- [edit interfaces demux0 unit logical-unit-number]
Associating a VLAN ID to a VLAN Demux Interface
A VLAN demux interface that you have associated to a particular VLAN ID receives and forwards incoming frames that contain a matching VLAN ID. You can associate a VLAN ID to a single-tag logical interface or to a dual-tagged (stacked) logical interface.
- Associating a VLAN ID to a Single-Tag VLAN Demux Interface
- Associating a VLAN ID to a Dual-Tag VLAN Demux Interface
Associating a VLAN ID to a Single-Tag VLAN Demux Interface
To associate a VLAN ID to a single-tag VLAN demux interface, include the vlan-id statement at the [edit interfaces demux0 unit logical-unit-number] hierarchy level:
To configure an interface to support single-tag logical interfaces, you must also include the vlan-tagging statement at the [edit interfaces interface-name] hierarchy level. To support mixed tagging, include the flexible-vlan-tagging statement instead.
Associating a VLAN ID to a Dual-Tag VLAN Demux Interface
To associate a VLAN ID to a dual-tag VLAN demux interface, include the vlan-tags statement at the [edit interfaces demux0 unit logical-unit-number] hierarchy level:
To configure an interface to support dual-tag logical interfaces, include the stacked-vlan-tagging statement at the [edit interfaces interface-name] hierarchy level. To support mixed tagging, include the flexible-vlan-tagging statement instead.