blob: 38635af32e5002d2e4d22100c2dfbae0a9ed3732 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
!
{% for route_gr in old_mroute %}
{% for nh in old_mroute[route_gr] %}
{% if old_mroute[route_gr][nh] %}
no ip mroute {{ route_gr }} {{ nh }} {{ old_mroute[route_gr][nh] }}
{% else %}
no ip mroute {{ route_gr }} {{ nh }}
{% endif %}
{% endfor %}
{% endfor %}
{% 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 %}
!
|