Supported Platforms
Configuring a Layer 2 Circuit on a VLAN-Bundled Logical Interface
This topic describes how to configure a Layer 2 circuit on a logical interface bound to a list of VLAN IDs.
Configuring a VLAN-Bundled Logical Interface to Support a Layer 2 VPN Routing Instance
To configure a VLAN-bundled logical interface, specify the list of VLAN IDs by including the vlan-id-list statement or the vlan-tags statement:
You can include the statements at the following hierarchy levels:
- [edit]
- [edit logical-systems logical-system-name]
For a single-tag logical interface, include the encapsulation statement and specify vlan-ccc so that CCC circuit encapsulation is used inside the Layer 2 circuit.
![]() | Note: In the case of a dual-tag logical interface, the Junos OS automatically uses the vlan-ccc encapsulation type. |
Specifying the Interface to Handle Traffic for a CCC Connected to the Layer 2 Circuit
To configure the VLAN-bundled logical interface as the interface to handle traffic for a circuit connected to the Layer 2 circuit, include the following statements:
You can include the statements at the following hierarchy levels:
- [edit protocols]
- [edit logical-systems logical-system-name protocols]
To enable a Layer 2 circuit, include the l2circuit statement.
To configure the router as a neighbor for a Layer 2 circuit, specify the neighbor address using the neighbor statement.
To specify the interface to handle traffic for a circuit connected to the Layer 2 circuit, include the interface statement and specify the VLAN-bundled logical interface.