Specifying the Interface to Handle Traffic for a CCC
To configure the VLAN-bundled logical interface as the interface to handle traffic for a circuit connected to the Layer 2 VPN routing instance, include the following statements:
protocols { l2vpn { (control-word | no-control-word); encapsulation-type (ethernet | ethernet-vlan); site site-name { site-identifier identifier; interface logical-interface-name { # VLAN-bundled logical interface . . . interface-options . . . } } } }
You can include the statements at the same hierarchy
level at which you include the instance-type l2vpn
and interface logical-interface-name
statements:
[edit routing-instances routing-instance-name]
[edit logical-systems logical-system-name routing-instances routing-instance-name]
To enable a Layer 2 VPN routing instance on a PE router, include
the l2vpn
statement. For more information, see the Junos OS VPNs Library for Routing Devices.
The encapsulation-type
statement specifies the Layer
2 protocol used for traffic from the customer edge (CE) router. If
the Layer 2 VPN routing instance is being connected to a single-tag
Layer 2 circuit, specify ethernet
as the encapsulation
type. If the Layer 2 VPN routing instance is being connected to a
dual-tag Layer 2 circuit, specify ethernet-vlan
as the
encapsulation type.
To specify the interface to handle traffic for a circuit connected
to the Layer 2 VPN routing instance, include the interface
statement and specify the VLAN-bundled logical interface.