Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring Layer 2 VPN Signaling for Pseudowire Subscriber Logical Interfaces

    This topic describes the steps for configuring Layer 2 VPN signaling used for the pseudowire subscriber logical interface support. You can also use Layer 2 circuit signaling for pseudowire subscriber logical interfaces. The two methods are mutually exclusive; you can use only one method on a particular pseudowire.

    To configure Layer 2 VPN signaling for pseudowire interfaces:

    1. Specify the name of the routing instance you want to configure.
      [edit]user@host# edit routing-instances l2vpn0
    2. Configure the Layer 2 VPN routing instance type.
      [edit routing-instances l2vpn0]user@host# set instance-type l2vpn
    3. Associate the pseudowire logical interface for the Layer 2 VPN.
      [edit routing-instances l2vpn0]user@host# set interface ps1.0
    4. Configure the unique identifier for the routes that belong to the Layer 2 VPN.
      [edit routing-instances l2vpn0]user@host# set route-distinguisher 111.1.1.1:100
    5. Configure the VPN routing and forwarding (VRF) target of the routing instance.
      [edit routing-instances l2vpn0]user@host# set vrf-target target:10:100
    6. Specify that you want to configure the Layer 2 VPN protocol for the routing instance.
      [edit routing-instances l2vpn0]user@host# edit protocols l2vpn
    7. Configure the encapsulation type for the routing instance.
      [edit routing-instances l2vpn0 protocols l2vpn]user@host# set encapsulation-type ethernet
    8. Specify the site name and site identifier for the Layer 2 VPN.
      [edit routing-instances l2vpn0 protocols l2vpn]user@host# set site PE1 site-identifier 1
    9. Specify the interface that connects to the site, and the remote interface to which you want the specified interface to connect.
      [edit routing-instances l2vpn0 protocols l2vpn]user@host# set interface ps1.0 remote-site-id 2
    10. Configure the tracing options for traffic that uses the Layer 2 VPN.
      [edit routing-instances l2vpn0 protocols l2vpn]user@host# set traceoptions file l2vpn flag all

    Published: 2013-02-11