This section describes one way to configure BGP
signaling for VPWS, but does not provide complete details about configuring
BGP and BGP/MPLS VPNs..
Table 101 lists the commands
used in this section to configure BGP signaling for VPWS.
Table 101: Commands
to Configure BGP Signaling for VPWS
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 VPWS L2VPN on
the PE router:
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
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.
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
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.