1 2 3 4 5 6 7 8 9 10 11
! {% for route_gr in mroute %} {% for nh in mroute[route_gr] %} {% if mroute[route_gr][nh] %} ip mroute {{ route_gr }} {{ nh }} {{ mroute[route_gr][nh] }} {% else %} ip mroute {{ route_gr }} {{ nh }} {% endif %} {% endfor %} {% endfor %} !