See “Configuring the Loopback Interface and Router ID for BGP for VPWS” on page 656
5. Set up BGP signaling in the autonomous system that is configured to signal
reachability for this VPWS instance.
See “Configuring BGP Signaling for VPWS” on page 657
6. Configure MPLS label-switched paths (LSPs) to connect the local and remote PE
routers.
See “Configuring MPLS LSPs for VPWS” on page 658
Related Topics BGP Signaling for VPWS Overview on page 656•
• Local Cross-Connects for VPWS Overview on page 655
• Types of Interfaces to Configure in the VPWS Instance on page 654
• BGP Loopback Interface and Router ID Overview on page 656
• MPLS LSPs for VPWS Overview on page 658
• For a detailed sample configuration, see Example: Configuring VPWS on Local and
Remote Routers on page 659
Configuring an VPWS Instance
You must configure a VPWS instance for each L2VPN in which the router participates.
From a configuration standpoint, a VPWS instance is simply a new L2VPN that you
configure with additional VPWS L2VPN attributes.
Table 133 on page 652 lists the commands that you use to configure a basic VPWS instance.
Table 133: Commands to Configure Basic VPWS Instances
l2vpn route-targetl2vpn control-word
l2vpn sequencingl2vpn encapsulation-type
l2vpn site-name site-idl2vpn local-site-id remote-site-id
l2vpn site-rangel2vpn rd
To configure a basic VPWS instance on the PE router:
1. Create the VPWS instance by configuring the encapsulation type for all interfaces
in the L2VPN.
You must issue this command before any other l2vpn commands.
host1(config)#l2vpn exampleco encapsulation-type ethernet
2. Configure the maximum number of customer sites that can participate in the L2VPN.
host1(config)#l2vpn exampleco site-range 10
3. Configure the name and ID number for the customer sites in the L2VPN instance.
Copyright © 2010, Juniper Networks, Inc.652
JunosE 11.2.x BGP and MPLS Configuration Guide