[docker-fpm]: T0 devices receive routes containing one occurrence of their own ASN (#271)
This commit is contained in:
parent
8901112bf6
commit
522585aadf
@ -46,6 +46,9 @@ router bgp {{ minigraph_bgp_asn }}
|
||||
{% if bgp_session['asn'] != 0 %}
|
||||
neighbor {{ bgp_session['addr'] }} remote-as {{ bgp_session['asn'] }}
|
||||
neighbor {{ bgp_session['addr'] }} description {{ bgp_session['name'] }}
|
||||
{% if minigraph_devices[inventory_hostname]['type'] == 'ToRRouter' %}
|
||||
neighbor {{ bgp_session['addr'] }} allowas-in 1
|
||||
{% endif %}
|
||||
{% if bgp_session['addr'] | ipv6 %}
|
||||
address-family ipv6
|
||||
neighbor {{ bgp_session['addr'] }} activate
|
||||
|
Reference in New Issue
Block a user