For example, you have three provider edge devices (PE1, PE2 and PE3). PE2 device
connects both PE1 and PE3 devices. The pseudowire connecting PE1 and PE2 devices
are encapsulated with circuit cross-connect (CCC). In this case, PE1 device acts as a
spoke and PE2 as a hub. The pseudowire connecting PE2 and PE3 devices are
encapsulated with VPLS. You need to encapsulate CCC and VPLS pseudowires using
the logical tunnel interface on the PE2 device.
The following steps describe how to encapsulate CCC and VPLS pseudowires using the
logical tunnel interface on the PE2 device:
1. Create a logical tunnel interface on the PE2 device by using the set chassis fpc fpc-slot
pic pic-slot tunnel-services port port-number CLI command. The port-number can be
any port on the chassis which is not used for regular traffic forwarding. For example,
[edit]
user@host# set chassis fpc 0 pic 0 tunnel-services port 65
2. Encapsulate the CCC and VPLS pseudowires using the logical tunnel interface
(lt-0/0/65) created on the PE2 device. Use the Ethernet CCC (ethernet-ccc) and
Ethernet VPLS (ethernet-vpls) encapsulation types at the [edit interfaces
interface-name unit logical-unit-number] hierarchy level as shown in the example:
Device PE2
[edit]
user@host# set interfaces lt-0/0/65 unit 0 encapsulation ethernet-ccc;
user@host# set interfaces lt-0/0/65 unit 0 encapsulation peer-unit 1;
user@host# set interfaces lt-0/0/65 unit 1 encapsulation ethernet-vpls;
user@host# set interfaces lt-0/0/65 unit 1 encapsulation peer-unit 0;
3. Verify the configuration by entering the show command at the logical tunnel interface
level. The output should display as follows:
[edit interfaces lt-0/0/65]
user@host# show
unit 0 {
encapsulation ethernet-ccc;
peer-unit 1;
}
unit 1 {
encapsulation ethernet-vpls;
peer-unit 0;
}
Based on this configuration, you can see that:
•
The CCC pseudowire on PE2 device originates from lt-0/0/65.0
•
The VPLS pseudowire on PE2 device originates from lt-0/0/65.1
•
The CCC pseudowire on PE1 device originates from a regular interface
•
The VPLS pseudowire on PE3 device originates from a regular interface
Copyright © 2017, Juniper Networks, Inc.1260
ACX Series Universal Access Router Configuration Guide