File tree 1 file changed +14
-1
lines changed
dockers/docker-fpm-quagga
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ route-map TO_BGP_SPEAKER_V4 deny 10
26
26
router bgp {{ DEVICE_METADATA['localhost'] ['bgp_asn'] }}
27
27
bgp log-neighbor-changes
28
28
bgp bestpath as-path multipath-relax
29
+ no bgp default ipv4-unicast
29
30
{# Advertise graceful restart capability for ToR #}
30
31
{% if minigraph_devices [inventory_hostname ]['type' ] == 'ToRRouter' %}
31
32
bgp graceful-restart
@@ -64,9 +65,13 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }}
64
65
neighbor {{ neighbor_addr }} shutdown
65
66
{% endif %}
66
67
{% if neighbor_addr | ipv 4 %}
68
+ address-family ipv4
67
69
{% if minigraph_devices [inventory_hostname ]['type' ] == 'ToRRouter' %}
68
- neighbor {{ neighbor_addr }} allowas-in 1
70
+ neighbor {{ neighbor_addr }} allowas-in 1
69
71
{% endif %}
72
+ neighbor {{ neighbor_addr }} activate
73
+ maximum-paths 64
74
+ exit-address-family
70
75
{% endif %}
71
76
{% if neighbor_addr | ipv 6 %}
72
77
address-family ipv6
@@ -93,6 +98,14 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }}
93
98
{% for ip_range in bgp_peer ['ip_range' ] %}
94
99
bgp listen range {{ip_range}} peer-group {{ bgp_peer['name'] }}
95
100
{% endfor %}
101
+ address-family ipv4
102
+ neighbor {{ bgp_peer['name'] }} activate
103
+ maximum-paths 64
104
+ exit-address-family
105
+ address-family ipv6
106
+ neighbor {{ bgp_peer['name'] }} activate
107
+ maximum-paths 64
108
+ exit-address-family
96
109
{% endfor %}
97
110
{% endblock bgp_peers_with_range %}
98
111
!
You can’t perform that action at this time.
0 commit comments