Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

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:

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 OS automatically uses the vlan-ccc encapsulation type.

Published: 2013-02-13