Technical Documentation

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 configure a VLAN-bundled logical interface, specify the list of VLAN IDs by including the vlan-id-list statement or the vlan-tags statement:

interfaces {ethernet-interface-name {vlan-tagging; # Support single- or dual-tag logical interfaces flexible-vlan-tagging; # Support mixed taggingencapsulation (extended-vlan-ccc | flexible-ethernet-services);unit logical-unit-number {encapsulation vlan–ccc; # Required for single-tagvlan-id-list [vlan-id vlan-idvlan-id]; # For single-tagvlan-tags outer <tpid.>vlan-id inner-list [vlan-id vlan-idvlan-id]; # For dual-tag}. . .}}

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 Software 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:

l2circuit {neighbor address {interface logical-interface-name {virtual-circuit-id number;no-control-word;}}}

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.


Published: 2010-04-20