toP0 and P1, Site 2 is connected to P0 and P2 (not shown), Site3 is connected to P2
andP3, and Site 4 is connected to P1 and P3. VPLS pseudowiresconfigured on the PE
andP routers carry traffic between the sites.
Thepseudowires for the VPLS instances are shownwith distinct dashed and dotted
lines.The VLANs at each site are:
L2-PE1at Site 1: VLAN 100 and VLAN 300
L2-PE2at Site 2: VLAN 100
L2-PE3at Site 3: VLAN 100
L2-PE4at Site 4: VLAN 300
Serviceprovider SP-1 is providing VPLS services forcustomer C1 and C2. L2-PE1 is
configuredwith a VPLS instance called customer-c1-vsi.The VPLS instance sets up
pseudowiresto remote Site 2 and Site 3. L2-PE1 is also configuredwith a VPLS instance
calledcustomer-c2-vsi. The VPLS instancesets up a pseudowire to remote Site 4.
Thefollowing is the configuration of interfaces,virtual switches, and bridge domains for
MXSeries router L2-PE1:
[edit]
interfacesge-1/0/0{
encapsulationflexible-ethernet-services;
flexible-vlan-tagging;
unit1 {
encapsulationvlan-vpls;
vlan-id100;
}
unit11 {
encapsulationvlan-vpls;
vlan-id301;
}
}
interfacesge-2/0/0{
encapsulationflexible-ethernet-services;
flexible-vlan-tagging;
unit1 {
encapsulationvlan-vpls;
vlan-id100;
}
}
interfacesge-3/0/0{
encapsulationflexible-ethernet-services;
flexible-vlan-tagging;
unit1 {
encapsulationvlan-vpls;
vlan-id200; # Should be translated tonormalized VLAN value
}
}
interfacesge-6/0/0{
encapsulationflexible-ethernet-services;
flexible-vlan-tagging;
unit11 {
53Copyright© 2010, Juniper Networks,Inc.
Chapter4: VLANs Within Bridge Domain and VPLS Environments