I am facing issue about getting LACP message to pass through MX204. Below is the topology:
I have Juniper MX204 as PE router with MPLS enabled. I have a requirement which needs to configure LACP between QFX switches by passing through MX204. So, I am writing for idea/solution to make that happen.
Appreciate for any input.
This is possible with interface cross-connect. Taking Your diagram and adding interface numbers for example:
The JUNOS CLI code would be:
set interfaces xe-0/0/0 encapsulation ethernet-ccc
set interfaces xe-0/0/0.0 family ccc
set interfaces xe-0/0/1 encapsulation ethernet-ccc
set interfaces xe-0/0/1.0 family ccc
set protocols connections interface-switch XCON-1 interface xe-0/0/0.0
set protocols connections interface-switch XCON-1 interface xe-0/0/1.0
set protocols mpls interface xe-0/0/0.0
set protocols mpls interface xe-0/0/1.0
I hope You do know that according to standards LACP PDUs are untagged so passing LACP with VLAN tag is not supported.
Thank you very much for your input. I have tested the configuration you provided and it works.
However, I have found another solution which can also bring up LACP between end to end switches.
set interfaces xe-0/0/0 encapsulation ethernet-bridge
set interfaces xe-0/0/0 unit 0 input-vlan-map push
set interfaces xe-0/0/0 unit 0 input-vlan-map vlan-id 123
set interfaces xe-0/0/0 unit 0 output-vlan-map pop
set interfaces xe-0/0/1 encapsulation ethernet-bridge
set interfaces xe-0/0/1 unit 0 input-vlan-map push
set interfaces xe-0/0/1 unit 0 input-vlan-map vlan-id 123
set interfaces xe-0/0/1 unit 0 output-vlan-map pop
set bridge-domains VL123 interface xe-0/0/0.0
set bridge-domains VL123 interface xe-0/0/1.0
Any advices or idea about pro and con between these two configuration template?
My configuration does not cause MX204 to learn MAC addresses, Your configuration does.
Depending on the MAC count and possibility of the L2 loops downstream of QFX, You may find that MX204 experiences elevated RE CPU due to constantly relearned MACs.