Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Using the Layer 2 Interworking Interface to Interconnect a Layer 2 Circuit to a Layer 2 VPN

Instead of using a physical Tunnel PIC for looping the packet received from the Layer 2 circuit, the Layer 2 interworking interface uses Junos OS to stitch together both Layer 2 VPN routes.

To configure the interworking interface, include the iw0 statement. The iw0 statement is configured at the [edit interfaces] hierarchy level. This specifies the peering between two logical interfaces. This configuration is similar to the configuration for a logical tunnel interface. The logical Interfaces must be associated with the endpoints of a Layer 2 circuit and Layer 2 VPN connections.

Configure the Layer 2 circuit protocol by including the l2circuit statement at the [edit protocols] hierarchy level and specifying the neighbor and iw0 interface.

Configure the Layer 2 VPN connection, by including the routing-instance-name statement at the [edit routing-instances] hierarchy level and specifying the instance-type l2vpn option.

In addition to the iw0 interface configuration, Layer 2 interworking l2iw protocols must be enabled. Without the l2iw configuration, the l2iw routes will not be formed, regardless of whether any iw interfaces are present. Within the l2iw protocols, only trace options can be configured in the standard fashion. The minimum configuration necessary for the feature to work is shown below: