user@PE1# set ge-2/0/5 vlan-tagging
user@PE1# set ge-2/0/5 encapsulation vlan-ccc
user@PE1# set ge-2/0/5 unit 601 family ccc
user@PE1# set ge-2/0/5 unit 601 encapsulation vlan-ccc
user@PE1# set ge-2/0/5 unit 601 vlan-id 601
user@PE1# set ge-2/0/5 unit 601 output-vlan-map swap
user@PE1# set ge-2/0/10 unit 0 family inet address 192.0.2.2/24
user@PE1# set ge-2/0/10 unit 0 family iso
user@PE1# set ge-2/0/10 unit 0 family mpls
user@PE1# set ge-2/0/11 unit 0 family inet address 192.0.2.3/24
user@PE1# set ge-2/0/11 unit 0 family iso
user@PE1# set ge-2/0/11 unit 0 family mpls
user@PE1# set lo0 unit 0 family inet address 10.255.14.217/32
user@PE1# set lo0 unit 0 family iso address 49.0001.0102.5501.4217.00
2. Enable MPLS and LDP on the interfaces.
On the MTU device interfaces that connect to other PE devices, configure MPLS
and LDP.
[edit protocols mpls]
user@PE1# set interface ge-2/0/10.0
user@PE1# set interface ge-2/0/11.0
[edit protocols ldp ]
user@PE1# set interface ge-2/0/10.0
user@PE1# set interface ge-2/0/11.0
user@PE1# set interface lo0.0
3. Enable routing on the interfaces.
On the MTU device interfaces that connect to other PE devices, configure an interior
gateway protocol (IGP), such as OSPF or IS-IS.
[edit protocols isis]
user@PE1# set level 1 disable
user@PE1# set interface ge-2/0/10.0
user@PE1# set interface ge-2/0/11.0
user@PE1# set interface lo0.0
4. Configure the Layer 2 circuit.
The neighbor 10.255.14.225 is Device PE3’s loopback interface address. This sets
up the working path.
The neighbor 10.255.14.216 is Device PE2’s loopback interface address. This sets up
the backup path.
The virtual circuit ID must match the VPLS ID that is configured on Device PE2 and
Device PE3.
1315Copyright © 2017, Juniper Networks, Inc.
Chapter 35: Configuring Virtual Private LAN Service