Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring Extended VLAN VPLS Encapsulation

This example shows how to configure extended VLAN VPLS encapsulation and enable it on the physical and the logical interfaces.

Requirements

Before you begin:

Overview

This example describes how to enable VLAN tagging on the VPLS interface ge-3/0/6, configure the extended-vlan-vpls type on the physical and logical interfaces, and configure the VPLS family on the logical interface.

Note: Perform the following CLI quick configurations and procedures on all PE interfaces (CE facing).

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, and then copy and paste the commands into the CLI at the [edit] hierarchy level.

set interfaces ge-3/0/6 vlan-taggingset interfaces ge-3/0/6 encapsulation extended-vlan-vpls set interfaces ge-3/0/6 unit 0 vlan-id 100 set interfaces ge-3/0/6 unit 0 family vpls

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 extended VPLS VLAN encapsulation:

  1. Enable VLAN tagging on the VPLS interface as it will receive tagged packets from CE.
    [edit interfaces ge-3/0/6]user@host# set vlan-tagging
  2. Configure the encapsulation type on the physical interface.
    [edit interfaces ge-3/0/6]user@host# set interfaces ge-3/0/6 encapsulation vlan-vpls
  3. Configure the VLAN ID on the logical interface.
    [edit interfaces ge-3/0/6 unit 0]user@host# set encapsulation vlan-vpls vlan-id 100
  4. Configure the VPLS family on the logical interface.
    [edit interfaces ge-3/0/6 unit 0]user@host# set family vpls

Results

From configuration mode, confirm your configuration by entering the show interfaces ge-3/0/6 command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

[edit]user@host# show interfaces ge-3/0/6vlan-tagging;encapsulation extended-vlan-vpls;
unit 0 {encapsulation vlan-vpls;vlan-id 100;family vpls;}

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

Verification

Confirm that the configuration is working properly.

Verifying Extended VLAN VPLS Encapsulation

Purpose

Verify that the extended VLAN VPLS encapsulation is enabled at the interfaces.

Action

From operational mode, enter the show interfaces command.

Verifying Extended VLAN VPLS Encapsulation for Logical Interfaces

Purpose

Verify that the extended VLAN VPLS encapsulation is enabled at the logical interface.

Action

From operational mode, enter the show interfaces ge-3/0/6 unit 0 command.

Modified: 2015-05-26

Modified: 2015-05-26