MX10 with trunked interfaces down to a series of EX switches. One of the VLANs needs to be added to a VPLS. I don't have the werewhital to lab this up in a full replication of the production network, unfortunately.
Which way to configure it? Add the BD inside the routing-instace (Example One) or make it a seperate tagged sub-interface as you would with a VPLS on a routed subinterface (Example Two)...or none of the above?
system {
root-authentication {
encrypted-password "$1$JjlQo.Fs$iLN.twBV9Q.RE5kS7I9z61"; ## SECRET-DATA
}
}
interfaces {
ge-1/0/1 {
description "EXAMPLE ONE";
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
family bridge {
interface-mode trunk;
vlan-id-list [ 100 101 102 ];
}
}
}
ge-1/0/2 {
description "EXAMPLE TWO";
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
family bridge {
interface-mode trunk;
vlan-id-list [ 100 101 ];
}
}
unit 102 {
description VPLS;
encapsulation vlan-vpls;
vlan-id 102;
family vpls;
}
}
}
routing-instances {
vpls-example-one {
instance-type virtual-switch;
interface ge-1/0/1.0;
protocols {
vpls {
vpls-id 12345;
neighbor 1.2.3.4;
}
}
bridge-domains {
vlan102 {
domain-type bridge;
vlan-id 102;
}
}
}
vpls-example-two {
instance-type vpls;
interface ge-1/0/2.102;
protocols {
vpls {
vpls-id 12346;
neighbor 1.2.3.4;
}
}
}
}
bridge-domains {
vlan-100 {
vlan-id 100;
}
vlan-101 {
vlan-id 101;
}
}