The config given below was tested on the ACX. However, we could not ping the remote IP.
set routing-instances evpn-aware instance-type mac-vrf
set routing-instances evpn-aware protocols evpn no-control-word
set routing-instances evpn-aware service-type vlan-aware
set routing-instances evpn-aware route-distinguisher a.b.c.d:608
set routing-instances evpn-aware vrf-target target:30999:608
set routing-instances evpn-aware vlans VL-608 vlan-id 608
set routing-instances evpn-aware vlans VL-608 interface et-0/0/15.0
set interfaces et-0/0/15 speed 1g
When using vlan-aware for mac-vrf at ACX, we need to use virtual-switch as instance type at MX.
Below are the config tested in lab & we were able to ping end to end.
ACX:
labroot@jtac-acx7024-r2021> show configuration routing-instances evpn-aware | display set
set routing-instances evpn-aware vlans VL-608 interface et-0/0/4.608
labroot@jtac-acx7024-r2021> show configuration interfaces et-0/0/4 | display set
set interfaces et-0/0/4 description jtac-ixia-xgs12-part2-r2003:7/9
set interfaces et-0/0/4 flexible-vlan-tagging
set interfaces et-0/0/4 encapsulation flexible-ethernet-services
set interfaces et-0/0/4 unit 608 encapsulation vlan-bridge
set interfaces et-0/0/4 unit 608 vlan-id 608
labroot@jtac-acx7024-r2021> show ethernet-switching table instance evpn-aware
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static, C - Control MAC
SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC
GBP - group based policy, B - Blocked MAC)
Ethernet switching table : 3 entries, 3 learned
Routing instance : evpn-aware
Vlan MAC MAC Age GBP Logical NH MAC RTR
name address flags Tag interface Index property ID
VL-608 00:00:00:06:71:5a D - et-0/0/4.608 0 0
VL-608 00:00:00:06:71:5b DC - 8045 8045
VL-608 66:80:19:d0:4f:8e DC - 8045 8045
MX:
labroot@jtac-mx204-r2003> show configuration routing-instances evpn-aware | display set
set routing-instances evpn-aware protocols evpn extended-vlan-list 608
set routing-instances evpn-aware instance-type virtual-switch
set routing-instances evpn-aware bridge-domains BD vlan-id 608
set routing-instances evpn-aware interface xe-0/1/1.0
set routing-instances evpn-aware route-distinguisher a.b.c.e:608
labroot@jtac-mx204-r2003> show configuration interfaces xe-0/1/1 | display set
set interfaces xe-0/1/1 description jtac-ixia-xgs12-part2-r2003:7/10
set interfaces xe-0/1/1 unit 0 family bridge interface-mode access
set interfaces xe-0/1/1 unit 0 family bridge vlan-id 608
labroot@jtac-mx204-r2003> show bridge mac-table instance evpn-aware
MAC flags (S -static MAC, D -dynamic MAC, L -locally learned, C -Control MAC
O -OVSDB MAC, SE -Statistics enabled, NM -Non configured MAC, R -Remote PE MAC, P -Pinned MAC)
Bridging domain : BD, VLAN : 608
MAC MAC Logical NH MAC active
address flags interface Index property source
00:00:00:06:71:5a DC 1048575 w.x.y.z
00:00:00:06:71:5b D xe-0/1/1.0
66:80:19:d0:4f:8e D xe-0/1/1.0