Configuring BGP Signaling for VPLS
This section describes one way to configure BGP signaling for VPLS, but does not
provide complete details about configuring BGP and BGP/MPLS VPNs.
Table 81 on page 600 lists the commands discussed in this section to configure BGP
signaling for VPLS.
Table 81: Commands to Configure BGP Signaling for VPLS
neighbor next-hop-selfaddress-family l2vpn
neighbor remote-asaddress-family vpls
neighbor send-communityexit-address-family
neighbor update-sourceip router-id
router bgpneighbor activate
To configure BGP signaling for VPLS on the PE router:
1. Enable the BGP routing protocol on the PE router and specify the local AS; that
is, the AS to which this BGP speaker belongs.
host1(config)#router bgp 100
The AS number identifies the PE router to other BGP routers.
2. Configure the PE-to-PE BGP session by first adding an entry to the BGP neighbor
table.
host1(config-router)#neighbor 10.4.4.4 remote-as 100
3. Use neighbor commands to specify the peers to which BGP advertises routes.
This example configures only the update-source and next-hop-self attributes.
The update-source attribute allows the BGP session to use the IP address of a
specific operational interface as the update source address for TCP connections.
the next-hop-self attribute forces the BGP speaker to report itself as the next hop
for an advertised route that it learned from a neighbor.
host1(config-router)#neighbor 10.4.4.4 update-source loopback 0
host1(config-router)#neighbor 10.4.4.4 next-hop-self
4. Create the L2VPN address family to configure the router to exchange layer 2
NLRI for all VPLS instances.
host1(config-router)#address-family l2vpn signaling
5. Activate the PE-to-PE session in the L2VPN address family by specifying neighbors
that exchange routes from within the current address family.
600 â– Configuring BGP Signaling for VPLS
JUNOSe 11.1.x BGP and MPLS Configuration Guide