blob: 4f114109aa66aeb14f55e0a46fc9c5dd6edf45e1 (
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 %}
!
|