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 102 lists the commands used in this section to configure BGP signaling for VPWS.
Table 102: 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:
The AS number identifies the PE router to other BGP routers.
- host1(config)#router bgp 738
- 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
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
- host1(config-router-af)#neighbor 10.2.2.2
activate
- host1(config-router-af)#neighbor 10.2.2.2
next-hop-self
- host1(config-router-af)#exit-address-family
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