Hi,
I've got a redundant path between two EX4200-48T switches, each in independent a virtual chassis. They are connected directly with each other through a Layer 1 fiber connection on 10G uplink modules. This interface is in trunk mode and a pure L2 interface on both switches.
In addition to that, there is another interface on each switch which acts as consumer edge towards a VPLS L2 tunnel. On the switches these interfaces are L2 trunks with slightly different VLANs configured on it. The PE is a MX80 encapsulating packets and tunneling between the same switches again.
That is, effectively I do have a loop on purpose, as I want to achieve failure resistance. I want to use the L1 link, and automated fail-over to the VPLS tunnel. Thus, I want to enable both links at the same time, and disable the VPLS port through MSTP. RSTP is enabled on all switches, the PE routers do not do anything fancy, other than capsulating the packets in MPLS.
As soon as I bring up both interfaces, i.e. the VPLS port as well as the L1 fiber, I get broadcast storm and both switches tell me that both interfaces are active and forwarding.
This is the CE interface configuration on the switch:
> show configuration interfaces xe-0/1/0
mtu 9100;
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members [ ROUTING_3 PUBLIC INTERNAL ];
}
}
}
This is the PE:
> show configuration interfaces xe-0/0/0
flexible-vlan-tagging;
mtu 9100;
encapsulation flexible-ethernet-services;
unit 3 {
/* L3 interface, VLAN is ROUTING_3 */
vlan-id 3;
family inet {
/* ... */
}
family inet6 {
/* ... */
}
}
unit 512 {
encapsulation vlan-vpls;
vlan-id 512; /* PUBLIC */
family vpls;
}
unit 1000 {
encapsulation vlan-vpls;
vlan-id-range 1000-4094; /* INTERNAL et al */
family vpls;
}
And this is the routing instance:
routing-instances {
cloud-backend {
instance-type vpls;
interface xe-0/0/0.512;
route-distinguisher XXX:4;
vrf-target target:ASN:1;
protocols {
vpls {
site-range 4;
no-tunnel-services;
site ce-switch {
site-identifier 1;
multi-homing;
}
connectivity-type ce;
}
}
}
cloud-internal {
instance-type vpls;
vlan-id all;
interface xe-0/0/0.1000;
route-distinguisher XXX:4;
vrf-target target:ASN:2;
protocols {
vpls {
site-range 4;
no-tunnel-services;
site ce-switch {
site-identifier 1;
multi-homing;
}
connectivity-type ce;
}
}
}
}
Any idea why my VPLS facing interface on the switch does not seem to detect loops on the STP? Broadcast traffic generally works, as does unicast. I did also try to reproduce the setup on a L1/L1 combination, there the switches have no problem whatsoever to detect loops by means of STP.