File tree Expand file tree Collapse file tree 4 files changed +15
-0
lines changed Expand file tree Collapse file tree 4 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ router bgp {{ frr_local_as }}
1010 bgp router-id {{ frr_loopback_v4 }}
1111{% for item in _frr_uplinks %}
1212 neighbor {{ item.address }} remote-as {{ item.remote_as }}
13+ {% if "password" in item %}
14+ neighbor {{ item.address }} password {{ item.password }}
15+ {% endif %}
1316 neighbor {{ item.address }} update-source {{ item.interface }}
1417 neighbor {{ item.address }} soft-reconfiguration inbound
1518{% endfor %}
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ router bgp {{ frr_local_as }}
1010 bgp router-id {{ frr_loopback_v4 }}
1111{% for item in _frr_uplinks %}
1212 neighbor {{ item.interface }} interface remote-as {{ item.remote_as }}
13+ {% if "password" in item %}
14+ neighbor {{ item.interface }} password {{ item.password }}
15+ {% endif %}
1316{% endfor %}
1417 !
1518 address-family ipv4 unicast
Original file line number Diff line number Diff line change @@ -10,9 +10,15 @@ router bgp {{ frr_local_as }}
1010 bgp bestpath as-path multipath-relax
1111{% for item in frr_neigh_v 4 %}
1212 neighbor {{ item.address }} remote-as {{ item.remote_as }}
13+ {% if "password" in item %}
14+ neighbor {{ item.address }} password {{ item.password }}
15+ {% endif %}
1316{% endfor %}
1417{% for item in frr_neigh_v 6 %}
1518 neighbor {{ item.address }} remote-as {{ item.remote_as }}
19+ {% if "password" in item %}
20+ neighbor {{ item.address }} password {{ item.password }}
21+ {% endif %}
1622{% endfor %}
1723 !
1824 address-family ipv4 unicast
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ router bgp {{ frr_local_as }}
1010 bgp router-id {{ frr_loopback_v4 }}
1111{% for item in _frr_uplinks + frr_uplinks_external %}
1212 neighbor {{ item.interface }} interface remote-as {{ item.remote_as }}
13+ {% if "password" in item %}
14+ neighbor {{ item.interface }} password {{ item.password }}
15+ {% endif %}
1316{% endfor %}
1417 !
1518 address-family ipv4 unicast
You can’t perform that action at this time.
0 commit comments