Virtual Private LAN Services
7210 SAS M Services Guide Page 347
Configuring BGP Auto-Discovery
This section provides important information to explain the different configuration options used to 
populate the required BGP AD and generate the LDP generalized pseudowire-ID FEC fields. 
There are a large number of configuration options that are available with the this feature. Not all 
these configurations option are required to start using BGP AD. At the end of this section, it will 
be apparent that a very simple configuration will automatically generate the required values used 
by BGP and LDP. In most cases, deployments will provide full mesh connectivity between all 
nodes across a VPLS instance. However, capabilities are available to influence the topology and 
build hierarchies or hub and spoke models.
Configuration Steps
Using Figure 55, assume PE6 was previously configured with VPLS 100 as indicated by the 
configurations lines in the upper right. The BGP AD process will commence after PE134 is 
configured with the VPLS 100 instance as shown in the upper left. This shows a very basic and 
simple BGP AD configuration. The minimum requirement for enabling BGP AD on a VPLS 
instance is configuring the VPLS-ID and point to a pseudowire template.
Figure 55: BGP AD Configuration Example
In many cases, VPLS connectivity is based on a pseudowire mesh. To reduce the configuration 
requirement, the BGP values can be automatically generated using the VPLS-ID and the MPLS 
router-ID. By default, the lower six bytes of the VPLS-ID are used to generate the RD and the RT 
values. The VSI-ID value is generated from the MPLS router-ID. All of these parameters are 
configurable and can be coded to suit requirements and build different topologies
OSSG244
L2VPN BGP AD
VPLS-id: 65535:100
VLS-id: 1.1.1.134
pw-template 1
vpls 100 customer 1 create
 service-mtu 1478
 bgp-ad
 vpls-id 65535:100
 pw-template-binding 1
 no shutdown
pw-template 1
vpls 100 customer 1 create
 service-mtu 1478
 bgp-ad
 vpls-id 65535:100
 pw-template-binding 1
 no shutdown
PE6
MPLS-id=1.1.1.6/32
PE134
MPLS-id=1.1.1.134/32
L2VPN BGP AD
RD: 65535:100
VSI-id: 1.1.1.6
RT: 65535:100
Next-hop: Self
L2VPN BGP AD
RD: 65535:100
VSI-id: 1.1.1.134
RT: 65535:100
Next-hop: Self
1
2
65535:100
65535:100
3