Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Example: Configuring a Multihomed VPLS (FEC 128)

 

This example shows how to set up a multihomed VPLS network.

Requirements

The network topology discussed in this example uses the following devices:

  • EX Series Ethernet Switches that are running Junos OS Release 9.4 or later for customer edge devices

  • M Series Multiservice Edge Routers that are running Junos OS Release 9.3 or later for provider edge routers

Note

This configuration example has been tested using the software release listed and is assumed to work on all later releases.

Overview

You can configure multihoming for any routing instance of type VPLS. This example provides a sample topology of a multihomed VPLS, and explains how to set up a multihomed VPLS network. This example also shows how to verify a multihomed VPLS network configuration.

In this example, the customer edge device, CE1, connects over interfaces ge-0/0/9 and ge-0/0/8 to interfaces ge-1/0/5 and ge-3/0/4 on provider edge routers PE1 and PE3, respectively, to create a multihomed VPLS with Device CE2 that is connected through provider edge router PE2.

Figure 1: Sample Topology of a Multihomed VPLS Site
Sample Topology of a Multihomed VPLS Site

When setting up a multihomed VPLS site, you must:

  • Include the multihoming statement to enable multihoming for the site. In this example, multihoming is configured on Routers PE1 and PE3, the provider edge routers that connect to the customer edge device CE1.

  • Assign the same site ID on all PE routers that are connected to the same CE device. In this example, Routers PE1 and PE3, the provider edge routers that connect to Device CE1, have the same site name (site 1) and site ID (10).

  • Configure the same VLAN ID on all devices that are part of the multihomed VPLS network. In this example, VLAN ID is constant (600) across the customer edge devices, CE1 and CE2, and the provider edge routers, PE1, PE2, and PE3.

  • Assign distinct route distinguishers for multihomed PE routers. In this example, Routers PE1, PE2, and PE3 have unique route identifiers configured on them.

  • Configure the multihomed provider edge routers as primary and backup. In this example, Router PE1 is configured as the primary site, whereas Router PE3 is configured as the backup site.

  • Reference all interfaces assigned to the multihomed VPLS site on each PE router. Only one of these interfaces is used to send and receive traffic for this site at a time.

  • Either designate a primary interface or allow the router to select the interface to be used as the primary interface. If the router selects the interface, the interface used to connect the PE router to the site depends on the order in which interfaces are listed in the PE router’s configuration. The first operational interface in the set of configured interfaces is chosen to be the designated interface. If this interface fails, the next interface in the list is selected to send and receive traffic for the site.

To enable VPLS multihoming, you must include the following configuration statements in the provider edge router configuration:

Configuration

To configure a multihomed VPLS network, perform these tasks:

Configuring Customer Edge Device CE1

Step-by-Step Procedure

To configure Device CE1:

  1. Enable the interfaces on which you want to configure the VPLS routing instance.
  2. Enable the interfaces to receive and forward frames with 802.1Q VLAN tags.
  3. Configure the logical interfaces, VLAN identifier value for 802.1Q VLAN tags, and the address family.

Results

After you complete the steps in the preceding procedure, the relevant section of the configuration on Device CE1 is:

Configuring Customer Edge Device CE2

Step-by-Step Procedure

To configure Device CE2:

  1. Enable the interface on which you want to configure the VPLS routing instance.
  2. Enable the interface to receive and forward frames with 802.1Q VLAN tags.
  3. Configure the logical interface, VLAN identifier value for 802.1Q VLAN tags, and the address family.

Results

After you complete the steps in the preceding procedure, the relevant section of configuration on Device CE2 is:

Configuring Provider Edge Router PE1

Step-by-Step Procedure

To configure Router PE1 for multihoming:

  1. Configure the interface properties.
  2. Create a routing instance of type VPLS, and configure the following parameters.
  3. Configure the routing options.
  4. Configure BGP properties.
  5. Configure RSVP properties.
  6. Configure OSPF properties.
  7. Configure policy options.

Results

After you complete this procedure, the configuration on Router PE1 is:

Configuring Provider Edge Router PE2

Step-by-Step Procedure

To configure Router PE2 for multihoming:

  1. Configure the interface properties.
  2. Create a routing instance of type VPLS, and configure the following parameters.
  3. Configure the routing options.
  4. Configure BGP properties.
  5. Configure RSVP properties.
  6. Configure OSPF properties.
  7. Configure policy options.

Results

After you complete this procedure, the configuration on Router PE2 is:

Configuring Provider Edge Router PE3

Step-by-Step Procedure

To configure Router PE3 for multihoming:

  1. Configure the interface properties.
  2. Create a routing instance of type VPLS, and configure the following parameters.
  3. Configure the routing options.
  4. Configure BGP properties.
  5. Configure RSVP properties.
  6. Configure OSPF properties.
  7. Configure policy options.

Results

After you complete this procedure, the configuration on Router PE3 is:

Verification

Confirm that the configuration is working properly.

Verifying a Multihomed VPLS Connection from the Junos OS CLI

Purpose

Validate the multihomed VPLS connection.

Action

Verify the multihomed VPLS connections on the provider edge routers.

  1. Enter the show vpls connections command on Router PE1.
    user@PE1> show vpls connections

    The output shows that Router PE1 is connected to two sites (ID: 10 and 20), where site 10 is a remote site that is not designated, and site 20 is the remote site that is connected to Router PE1.

  2. Enter the show vpls connections command on Router PE2.
    user@PE2> show vpls connections

    The output shows that Router PE2, with site ID 20, is connected to the remote site (192.1.1.4) with site ID 10, that is, Router PE1.

  3. Enter the show vpls connections command on Router PE3.
    user@PE3> show vpls connections

    The output shows that Router PE3 is connected to two remote sites, site ID 10 and site ID 20.