The site ID value must be greater than zero and be unique within the L2VPN for that
customer site. This is not true for a multihomed customer site. See “Configuring BGP
Multihoming for VPWS” on page 653 for more information.
host1(config)#l2vpn exampleco site-name westford site-id 1
4. Configure a route distinguisher for the L2VPN.
In this example, the first number in the route distinguisher (100) is the number of the
autonomous system (AS). The second number in the route distinguisher (11) uniquely
identifies the L2VPN instance within that AS.
host1(config)#l2vpn exampleco rd 100:11
5. Create or add a route target to the import and export lists of the L2VPN’s route-target
extended community.
The PE router uses the lists to determine which routes are imported into the VPWS
instance.
host1(config)#l2vpn exampleco route-target both 100:1
6. Specify the local preference for use of the control word and sequencing for the layer
2 packets encapsulated in the MPLS packets that are sent to the remote PE router.
host1(config)#l2vpn exampleco control-word
host1(config)#l2vpn exampleco sequencing
Related Topics l2vpn control-word•
• l2vpn encapsulation-type
• l2vpn rd
• l2vpn route-target
• l2vpn sequencing
• l2vpn site-name site-id
• l2vpn site-range
Configuring BGP Multihoming for VPWS
You can configure BGP multihoming in the VPWS network to provide redundancy in the
event of failures such as a PE router-to-CE device link failure, the failure of a PE router,
or an MPLS reachability failure between the local PE router and a remote PE router. BGP
multihoming enables you to connect a customer site to two or more PE routers. A
redundant PE router can begin providing service to the customer site as soon as the failure
is detected. The redundant connectivity maintains the VPWS service and traffic forwarding
to and from the multihomed site while avoiding the formation of layer 2 traffic loops.
To configure BGP multihoming on a VPWS PE router:
•
Configure the site as multihomed and specify a multihoming priority for the PE site for
this instance.
653Copyright © 2010, Juniper Networks, Inc.
Chapter 15: Configuring VPWS