Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Example: Configuring VPLS VLAN Encapsulation

 

This example shows how to configure VPLS VLAN 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 VPLS interface ge-3/0/6, configure the encapsulation type on the physical and logical interfaces, and configure the VPLS family on the logical interface.

Note

Perform the following CLI quick configuration and procedures on all of the 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, copy and paste the commands into the CLI at the [edit] hierarchy level, and then enter commit from configuration mode.

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

  1. Enable VLAN tagging on the VPLS interface.
  2. Configure the encapsulation type on the physical interface.
  3. Configure the encapsulation type on the logical interface.
  4. Configure the VLAN ID on the logical interface.
  5. Configure the family VPLS on the logical interface.

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.

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

Verification

Confirm that the configuration is working properly.

Verifying VPLS VLAN Encapsulation

Purpose

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

Action

From operational mode, enter the show interfaces command.

Verifying VPLS VLAN Encapsulation for Logical Interfaces

Purpose

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

Action

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