diff --git a/configs/config.j2 b/configs/config.j2 index ea645be..61d9d94 100644 --- a/configs/config.j2 +++ b/configs/config.j2 @@ -43,13 +43,16 @@ ip dns server-address priority {{ loop.index }} {{ d }} {%- endfor %} ip ssh filetransfer {%- for i6 in ipv6_managers.values() %} -ipv6 authorized-managers {{ i6.ip }} {{ i6.subnet }} access manager +ipv6 authorized-managers {{ i6.ip }} {{ i6.subnet }} access manager {%- endfor %} {%- if ra_guard_ports %} ipv6 ra-guard ports {{ ra_guard_ports }} {%- endif %} {%- for iface in interfaces %} interface {{ iface.number }} +{%- if iface.flowcontrol %} + flow-control +{%- endif %} name "{{ iface.name }}" {%- if iface.dhcp_trust %} dhcp-snooping trust @@ -57,9 +60,6 @@ interface {{ iface.number }} {%- if iface.dhcpv6_trust %} dhcpv6-snooping trust {%- endif %} -{%- if iface.flowcontrol %} - flow-control -{% endif %} {%- if iface.arp_trust %} arp-protect trust {%- endif %}