[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Configuring BGP Signaling for L2VPNs

This section describes one way to configure BGP signaling for L2VPNs, but does not provide complete details about configuring BGP and BGP/MPLS VPNs.

Table 72 lists the commands used in this section to configure BGP signaling for L2VPNs.

Table 72: Commands to Configure BGP Signaling for L2VPNs 

address-family l2vpn

neighbor next-hop-self

address-family vpws

neighbor remote-as

exit-address-family

neighbor update-source

neighbor activate

router bgp


To configure BGP signaling for an 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

  1. 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.
  2. host1(config-router)#neighbor 10.2.2.2 remote-as 738
    
    host1(config-router)#neighbor 10.2.2.2 update-source loopback 0
    
    host1(config-router)#neighbor 10.2.2.2 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 L2VPN (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 L2VPN reachability information. Currently, you can omit the signaling keyword with no adverse effects.

host1(config-router)#address-family l2vpn signaling

  1. 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.
  2. host1(config-router-af)#neighbor 10.2.2.2 activate
    
    host1(config-router-af)#neighbor 10.2.2.2 next-hop-self
    
    
    
  3. Exit the address family.
  4. host1(config-router-af)#exit-address-family
    
    
    
  5. Create the VPWS address family to configure the router to exchange layer 2 NLRI for each L2VPN instance configured on the router.

You must issue the address-family vpws command separately for each L2VPN instance configured on the router.

host1(config-router)#address-family vpws l2vpnA
host1(config-router)#address-family vpws l2vpnB

Related Topics


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]