SCENARIO:
CLIENT1-----------------(ae1.0)LEAF1-------------------LEAF2(ae1.0)--------------------------CLIENT2
Configuration is below:
MAC-VRF INSTANCE:
set routing-instances TEST_VLAN_BUNDLE instance-type mac-vrf
set routing-instances TEST_VLAN_BUNDLE service-type vlan-bundle
set routing-instances TEST_VLAN_BUNDLE protocols evpn. >>>> no additional configuration required for protocols EVPN
set routing-instances TEST_VLAN_BUNDLE vlans TEST interface ae1.0
set routing-instances TEST_VLAN_BUNDLE route-distinguisher 172.19.2.22:2
set routing-instances TEST_VLAN_BUNDLE vrf-target target:2:1
CE INTERFACE:
set interfaces ae1 description "TEST"
set interfaces ae1 flexible-vlan-tagging
set interfaces ae1 mtu 9192
set interfaces ae1 encapsulation flexible-ethernet-services
set interfaces ae1 unit 0 esi 00:XX:00:00:00:00:00:XX:XX:02
set interfaces ae1 unit 0 esi single-active
set interfaces ae1 unit 0 esi df-election-type preference value 100
set interfaces ae1 aggregated-ether-options lacp active
set interfaces ae1 aggregated-ether-options lacp periodic fast
set interfaces ae1 unit 0 encapsulation vlan-bridge
set interfaces ae1 unit 0 vlan-id-list 3100-3133
set interfaces ae1 unit 0 vlan-id-list 3155-3163
set interfaces ae1 unit 0 vlan-id-list 3165-3166
set interfaces ae1 unit 0 vlan-id-list 3169-3171
set interfaces ae1 unit 0 vlan-id-list 3175
set interfaces ae1 unit 0 vlan-id-list 3177-3187
set interfaces ae1 unit 0 vlan-id-list 3199-3232
set interfaces ae1 unit 0 vlan-id-list 3240-3244
set interfaces ae1 unit 0 vlan-id-list 3260-3261
set interfaces ae1 unit 0 vlan-id-list 3600-3605
set interfaces ae1 unit 0 vlan-id-list 3699-3705
set interfaces ae1 unit 0 vlan-id-list 3712
set interfaces ae1 unit 0 vlan-id-list 4002-4003 <<<<<<< 1-4094 is equivalent to "vlan all" or can use for specific vlan: set interfaces ae1 unit 0 vlan-id-list 40003
set interfaces ae1 unit 3150 encapsulation vlan-bridge
set interfaces ae1 unit 3150 vlan-id 3150
NOTES: