diff --git a/ansible/templates/topo/t1-64-lag.j2 b/ansible/templates/topo/t1-64-lag.j2
index 8a96f9957a3..1468af0cb01 100644
--- a/ansible/templates/topo/t1-64-lag.j2
+++ b/ansible/templates/topo/t1-64-lag.j2
@@ -324,35 +324,35 @@
DeviceInterfaceLink
{{ inventory_hostname }}
{{ port_alias[32+index*8+2] }}
- ARISTA{{ '%02d' % (index+1) }}T0
+ ARISTA{{ '%02d' % (index*5+1) }}T0
Ethernet1
DeviceInterfaceLink
{{ inventory_hostname }}
- {{ port_alias[32+index*8+2] }}
- ARISTA{{ '%02d' % (index+1) }}T0
+ {{ port_alias[32+index*8+4] }}
+ ARISTA{{ '%02d' % (index*5+2) }}T0
Ethernet1
DeviceInterfaceLink
{{ inventory_hostname }}
{{ port_alias[32+index*8+5] }}
- ARISTA{{ '%02d' % (index+1) }}T0
+ ARISTA{{ '%02d' % (index*5+3) }}T0
Ethernet1
DeviceInterfaceLink
{{ inventory_hostname }}
{{ port_alias[32+index*8+6] }}
- ARISTA{{ '%02d' % (index+1) }}T0
+ ARISTA{{ '%02d' % (index*5+4) }}T0
Ethernet1
DeviceInterfaceLink
{{ inventory_hostname }}
{{ port_alias[32+index*8+7] }}
- ARISTA{{ '%02d' % (index+1) }}T0
+ ARISTA{{ '%02d' % (index*5+5) }}T0
Ethernet1
{% endfor %}