Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
{ "lCode": "en_US", "lName": "English", "folder": "en_US" }
English

Example: Configuring the VPLS Routing Instance

date_range 23-Dec-19

This example shows how to create a VPLS routing instance on each PE router that is participating in the VPLS.

Requirements

Before you begin:

Overview

This example describes how to create a VPLS routing instance; configure VPLS site identifier, site range, no tunnel services option, route distinguisher, and route target for the VPLS routing instance; and specify the VPLS interface to the CE router.

Note

You must specify no tunnel services in the VPLS routing instance configuration, because SRX Series devices do not support tunnel serial PICs.

Configuration

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, copy and paste the commands into the CLI at the [edit] hierarchy level, and then enter commit from configuration mode.

content_copy zoom_out_map
set routing-instances green instance-type vpls
set routing-instances green protocols vpls site-range 10 site R3 site-identifier 2
set routing-instances green protocols vpls no-tunnel-services
set routing-instances green route-distinguisher 10.255.7.1:1
set routing-instances green vrf-target target:11111:1
set routing-instances green instance-type vpls interface ge-1/2/1.0

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode.

To configure a VPLS routing instance:

  1. Configure the routing instance of type VPLS.
    content_copy zoom_out_map
    [edit]
    user@host# edit routing-instances green
  2. Enable the VPLS instance type.
    content_copy zoom_out_map
    [edit routing-instances green]
    user@host# set instance-type vpls
  3. Configure the VPLS site identifier and range for the VPLS routing instance.
    content_copy zoom_out_map
    [edit routing-instances green protocols vpls]
    user@host# set site-range 10 site R3 site-identifier 2
  4. Configure the no-tunnel-services option for the VPLS routing instance.
    content_copy zoom_out_map
    [edit routing-instances green protocols vpls]
    user@host# set no-tunnel-services
  5. Configure the route distinguisher.
    content_copy zoom_out_map
    [edit routing-instances green]
    user@host# set route-distinguisher 10.255.7.1:1
  6. Configure the route target.
    content_copy zoom_out_map
    [edit routing-instances green]
    user@host# set vrf-target target:11111:1
  7. Specify the VPLS interface to the CE router.
    content_copy zoom_out_map
    [edit routing-instances green]
    user@host# set instance-type vpls interface ge-1/2/1.0

Results

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

content_copy zoom_out_map
[edit]
user@host# show routing-instances green
instance-type vpls;
interface ge-1/2/1.0;
route-distinguisher 10.255.7.1:1;
vrf-target target:11111:1;
protocols {
vpls {
site-range 10;
no-tunnel-services;
site R3 {
site-identifier 2;
}
}
}

If you are done configuring the device, enter commit from configuration mode.

Verification

Confirm that the configuration is working properly.

Verifying VPLS Routing Instance Is Configured

Purpose

Verify that the VPLS routing instance is configured.

Action

From operational mode, enter the show routing-instances command.

Verifying VPLS Routing Attributes Are Configured

Purpose

Verify that attributes such as VPLS site identifier, site range, no tunnel services option, route distinguisher, and route target for the VPLS routing instance are configured.

Action

From operational mode, enter the show routing-instances green protocols vpls command.

footer-navigation