Hi,
AFAIK STM protection accross 2 nodes can be achieved with APS:
However I am not sure about the l2circuit protection.
Apparently, ALU has a solution for this scenario, although the below scenario is ATM:
I believe in JUNOS, this could be done using l2circuit backup neighbors in a full-mesh of primary & backup:-
#show protocols l2circuit
neighbor 192.168.0.3 {
interface ge-0/0/1.0 {
virtual-circuit-id 10;
backup-neighbor 192.168.0.4 {
virtual-circuit-id 11;
}
}
}
Worth testing in a lab.