Configuring BGP Signaling for VPWS

To configure BGP signaling for an VPWS L2VPN on the PE router:

  1. Enable the BGP routing process on the PE router in the specified local AS.

    The AS number identifies the PE router to other BGP routers.

    host1(config)#router bgp 738
  2. Configure the PE-to-PE BGP session. Use neighbor commands to specify the PE router peers to which BGP advertises routes and to configure additional BGP attributes.
    host1(config-router)#neighbor remote-as 738 host1(config-router)#neighbor update-source loopback 0 host1(config-router)#neighbor next-hop-self
  3. Create the L2VPN address family to configure the router to use BGP signaling to exchange layer 2 NLRI to peer PE routers for all VPWS instances.

    Optionally, you can use the signaling

    keyword with the

    address-family command when you configure the L2VPN address family to specify BGP signaling of VPWS reachability information. Currently, you can omit the signaling

    keyword with no adverse effects.

    host1(config-router)#address-family l2vpn signaling
  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 activate host1(config-router-af)#neighbor next-hop-self
  5. Exit the 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

For information about configuring BGP, see Configuring BGP Routing. For information about configuring BGP/MPLS VPNs, see Configuring BGP-MPLS Applications.

Related Documentation