4. Activate the neighbors with which routes of the L2VPN address family are
exchanged for this PE-to-PE BGP session. Use the bgp dampening command
and BGP neighbor commands to configure additional address family parameters
for the session. No other commands are supported in this address family.
host1(config-router-af)#neighbor 10.2.2.2 activate
host1(config-router-af)#neighbor 10.2.2.2 next-hop-self
5. Exit the address family.
host1(config-router-af)#exit-address-family
6. Create the VPWS address family to configure the router to exchange layer 2 NLRI
for each VPWS instance configured on the router.
You must issue the address-family vpws command separately for each VPWS
instance configured on the router.
host1(config-router)#address-family vpws l2vpnA
host1(config-router)#address-family vpws l2vpnB
Related Topics â– Configuring BGP Routing on page 3
â– Configuring BGP-MPLS Applications on page 379
â– address-family l2vpn
â– address-family vpws
â– exit-address-family
â– neighbor activate
â– neighbor next-hop-self
â– neighbor remote-as
â– neighbor update-source
â– router bgp
Configuring MPLS LSPs for VPWS
As part of a VPWS L2VPN configuration, you must create MPLS label-switched paths
(LSPs) to connect the local PE router and the remote PE router.
This section explains one way to create a basic MPLS configuration using the mpls
and mpls ldp commands.
To configure MPLS LSPs on the PE router:
1. Enable MPLS on the virtual router.
host1(config)#mpls
Configuring MPLS LSPs for VPWS â– 665
Chapter 13: Configuring VPWS