added networks_to_announce_ipv4

This commit is contained in:
vagrant 2020-08-26 03:36:53 +00:00
parent 97bf6b7ffd
commit 9454e036cb
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ router bgp {{host_ASN}}
{% if host_loopback_IP is defined %}
network {{host_loopback_IP}}/32
{% endif %}
{% if networks_to_announce_ipv4 is defined and networks_to_announce_ipv4 != [] %}
network {{networks_to_announce_ipv4}}
{% endif %}
{% if autobgp_interfaces is defined and autobgp_interfaces != [] %}
neighbor fabric activate
neighbor fabric prefix-list AS{{host_ASN}}-OUT out