You must configure a VPLS instance for each VPLS domain in which the router participates. From a configuration standpoint, a VPLS instance is simply a new or existing bridge group that you configure with additional VPLS attributes.
Table 78 lists the commands that you use to configure a basic VPLS instance, as described in this section.
Table 78: Commands to Configure Basic VPLS Instances
|
bridge vpls rd |
bridge vpls site-range |
|
bridge vpls route-target |
bridge vpls transport-virtual-routers |
|
bridge vpls site-name site-id |
|
To configure a basic VPLS instance with BGP signaling on the PE router:
host1(config)#bridge customer1 vpls transport-virtual-router vr1
If the bridge group you specify (customer1 in this example) already exists on the router, issuing this command causes the bridge group to become a VPLS instance.
![]() |
Note: To configure a VPLS instance, you must issue the bridge vpls transport-virtual-router command before you issue any of the other bridge vpls commands in this procedure. If the bridge vpls transport-virtual-router command is not issued first, the other bridge vpls commands fail. |
- host1(config)#bridge customer1 vpls site-range
15
- host1(config)#bridge customer1 vpls site-name
westford site-id 1
The site ID value must be greater than zero and be unique across the VPLS domain. This is not true for a multihomed customer site. See Configuring BGP Multihoming for VPLS for more information.
- host1(config)#bridge customer1 vpls rd 100:11
In this example, the first number in the route distinguisher (100) is the number of the AS in which the extended community resides. The second number in the route distinguisher (11) uniquely identifies the VPLS instance within the AS.
![]() |
Tip: You cannot change or remove the route distinguisher for a VPLS instance after you set it; for this reason the no bridge vpls rd command fails. . To change the route distinguisher, you must either remove the transport virtual router configuration from the VPLS instance or delete the VPLS instance from the router. You can then reconfigure the VPLS instance with a new route distinguisher. |
- host1(config)#bridge customer1 vpls route-target
both 100:1
The PE router uses the lists of VPN extended communities to determine which routes are imported by this VPLS instance.
![]() |
Best Practice: We recommend that you add the route target to both the VPLS instance's import list and export list of VPN extended communities. To do so, use the both keyword. |
Multiple VPLS instances that use the same transport virtual router cannot have the same route distinguisher. Conversely, multiple VPLS instances that use different transport virtual routers can have the same route distinguisher.
For example, the following commands configure the transport virtual router for each of three VPLS instances: vplsA, vplsB, and vplsC. The transport virtual router for both vplsA and vplsC is vr1, and the transport virtual router for vplsB is vr2.
- host1(config)#bridge vplsA vpls transport-virtual-router
vr1
- host1(config)#bridge vplsB vpls transport-virtual-router
vr2
- host1(config)#bridge vplsC vpls transport-virtual-router
vr1
Because vplsA and vplsC use the same transport virtual router, vr1, you cannot assign them the same route distinguisher. Consequently, the following operation fails, and the router displays an error message.
- host1(config)#bridge vplsA vpls rd 1.1.1.1:10
- host1(config)#bridge vplsC vpls rd 1.1.1.1:10
- % Unable to set VPLS route distinguisher (can't re-use
the route-distinguisher)
However, both vplsA and vplsB can use the same route distinguisher because their transport virtual routers are different. Consequently, the following commands are valid.
- host1(config)#bridge vplsA vpls rd 1.1.1.1:10
- host1(config)#bridge vplsB vpls rd 1.1.1.1:10