Related Documentation
- LN, SRX Series
- VPLS Configuration Overview
- VPLS Overview
- Additional Information
- MPLS Feature Guide for Security Devices
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:
- Before you begin, see Understanding Selective Stateless Packet-Based Services .
- Configure the interfaces that will carry the VPLS traffic between the PE router and the CE devices. See Example: Configuring Routing Interfaces on the VPLS PE Router and Example: Configuring the Interface to the VPLS CE Device.
- Create a VPLS routing instance on each PE router that is participating in the VPLS. See Example: Configuring the VPLS Routing Instance.
- Configure an IGP on the PE routers to exchange routing information. See Example: Configuring OSPF on the VPLS PE Router.
- Configure RSVP-TE, see Example: Configuring RSVP on the VPLS PE Router and then MPLS LSPs on the PE routers, see Example: Configuring MPLS on the VPLS PE Router. Alternatively configure LDP on the PE routers, see Example: Configuring LDP on the VPLS PE Router.
- Configure routing options on the PE router. See Example: Configuring Routing Options on the VPLS PE Router.
- Configure an IBGP session between PE routers so that the routers can exchange information about routes originating and terminating in the VPLS. See Example: Configuring BGP on the VPLS PE Router.
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, and then copy and paste the commands into the CLI at the [edit] hierarchy level.
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:
- Enable VLAN tagging on the VPLS interface.[edit interfaces ge-3/0/6]user@host# set vlan-tagging
- 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
- Configure the encapsulation type on the logical interface.[edit interfaces ge-3/0/6 unit 0]user@host# set encapsulation vlan-vpls
- Configure the VLAN ID on the logical interface.[edit interfaces ge-3/0/6 unit 0]user@host# set vlan-id 512
- Configure the family VPLS 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.
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.
Related Documentation
- LN, SRX Series
- VPLS Configuration Overview
- VPLS Overview
- Additional Information
- MPLS Feature Guide for Security Devices
Modified: 2015-05-26
Related Documentation
- LN, SRX Series
- VPLS Configuration Overview
- VPLS Overview
- Additional Information
- MPLS Feature Guide for Security Devices