TheVLANs’ bridging paths are shown with distinct dashed and dotted lines.The VLANs
ateach 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
NOTE: Theconfigurations in this chapter areonly partial examples of
completeand functional router configurations.Do not copy these
configurationsand use them directly on an actual system.
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-bridge;
vlan-id100;
}
unit11 {
encapsulationvlan-bridge;
vlan-id301;
}
}
interfacege-2/0/0{
encapsulationflexible-ethernet-services;
flexible-vlan-tagging;
unit1 {
encapsulationvlan-bridge;
vlan-id100;
}
}
interfacege-3/0/0{
encapsulationflexible-ethernet-services;
flexible-vlan-tagging;
unit1 {
encapsulationvlan-bridge;
vlan-id200; # NOTE: 200 is translatedto normalized VLAN vlaue
}
}
interfacesge-4/0/0{
encapsulationflexible-ethernet-services;
flexible-vlan-tagging;
unit1 {
encapsulationvlan-bridge;
vlan-tagsouter 500 inner 100; # This places twoVLAN tags on the provider
#pseudowire
49Copyright© 2010, Juniper Networks,Inc.
Chapter4: VLANs Within Bridge Domain and VPLS Environments