summaryrefslogtreecommitdiff
path: root/data/templates/frr/eigrpd.frr.j2
blob: d16963a518b17b0bd17f5d6dddf4b5d65ae23cd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
!
router eigrp {{ system_as }} {{ 'vrf ' ~ vrf if vrf is vyos_defined }}
{% if maximum_paths is vyos_defined %}
 maximum-paths {{ maximum_paths }}
{% endif %}
{% if metric.weights is vyos_defined %}
 metric weights {{ metric.weights }}
{% endif %}
{% if network is vyos_defined %}
{%     for net in network %}
 network {{ net }}
{%     endfor %}
{% endif %}
{% if passive_interface is vyos_defined %}
{%     for interface in passive_interface %}
 passive-interface {{ interface }}
{%     endfor %}
{% endif %}
{% if redistribute is vyos_defined %}
{%     for protocol in redistribute %}
 redistribute {{ protocol }}
{%     endfor %}
{% endif %}
{% if router_id is vyos_defined %}
 eigrp router-id {{ router_id }}
{% endif %}
{% if variance is vyos_defined %}
 variance {{ variance }}
{% endif %}
exit
!