Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring BGP Autodiscovery for LDP VPLS with User-Defined Mesh Groups

This example describes how to configure user-defined mesh groups for BGP autodiscovery for LDP VPLS, as specified in forwarding equivalency class (FEC) 129. FEC 129 uses BGP autodiscovery to convey endpoint information, so you do not need to manually configure pseudowires. You configure mesh groups on the border router to group the sets of PE routers that are automatically fully meshed and that share the same signaling protocol, either BGP or LDP. You can configure multiple mesh groups to map each fully meshed LDP-signaled or BGP-signaled VPLS domain to a mesh group.

Requirements

Before you begin, configure BGP autodiscovery for LDP VPLS. See Example: Configuring BGP Autodiscovery for LDP VPLS.

Overview

Configuration for a mesh group for FEC 129 is very similiar to the mesh-group configuration for FEC 128.

Note the following differences for FEC 129:

  • Each user-defined mesh group must have a unique route distinguisher. Do not use the route distinguisher that is defined for the default mesh group at the [edit routing-intances] hierarchy level.
  • Each user-defined mesh group must have its own import and export route target.
  • Each user-defined mesh group can have a unique Layer 2 VPN ID. By default, all the mesh groups that are configured for a VPLS routing instance use the same Layer 2 VPN ID as the one that you configure at the [edit routing-instances] hierarchy level.

Topology Diagram

Figure 1 shows a topology that includes a user-defined mesh group.

Figure 1: BGP Autodiscovery for LDP VPLS with a User-Defined Mesh Group

BGP Autodiscovery for
LDP VPLS with a User-Defined Mesh Group

Configuration

CLI Quick Configuration

To quickly configure a mesh group, copy the following commands, remove any line breaks, and then paste the commands into the CLI of each device.

[edit]set routing-instances red instance-type vpls set routing-instances red route-distinguisher 10.10.10.2:3 set routing-instances red l2vpn-id l2vpn-id:100:3 set routing-instances red vrf-target target:100:3 set routing-instances red protocols vpls mesh-group regional-1 route-distinguisher 10.10.10.2:33 set routing-instances red protocols vpls mesh-group regional-1 vrf-target target:100:33

Step-by-Step Procedure

To configure a mesh group:

  1. Set the routing instance type to VPLS.

    [edit]user@PE1# set routing-instances red instance-type vpls
  2. Configure the route distinguisher for the routing instance.

    This route distinguisher is used for the default mesh group.

    [edit]user@PE1# set routing-instances red route-distinguisher 10.10.10.2:3
  3. Set the Layer 2 VPN ID for the default mesh group.

    user@PE1# set routing-instances red l2vpn-id l2vpn-id:100:3
  4. Set the import and export route target for the default mesh group.

    user@PE1# set routing-instances red vrf-target target:100:3
  5. Set the route distinguisher for the user-defined mesh group.

    user@PE1# set routing-instances red protocols vpls mesh-group regional-1 route-distinguisher 10.10.10.2:33
  6. Set the import and export route target for the user-defined mesh group.

    user@PE1# set routing-instances red protocols vpls mesh-group regional-1 vrf-target target:100:33
  7. If you are done configuring the device, commit the configuration.

    [edit]user@PE1# commit

Results

From configuration mode, confirm your configuration by entering the show routing-instances command. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

user@PE1# show routing-instancesred {instance-type vpls;route-distinguisher 10.10.10.2:3;l2vpn-id l2vpn-id:100:3;vrf-target target:100:3;protocols {vpls {mesh-group regional-1 {route-distinguisher 10.10.10.2:33;vrf-target target:100:33;}}}}

Verification

To verify the operation, run the following commands:

AD in the routing table output indicates autodiscovery NLRI.

Published: 2012-06-27