Skip to content

Commit db2bdcf

Browse files
committed
[FRR]: enable bgp graceful-restart preserve-fw-state for FRR warm reboot support on T0
Signed-off-by: Jipan Yang <[email protected]>
1 parent 95452b7 commit db2bdcf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dockers/docker-fpm-frr/bgpd.conf.j2

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }}
2929
no bgp default ipv4-unicast
3030
bgp graceful-restart restart-time 240
3131
bgp graceful-restart
32+
{% if DEVICE_METADATA['localhost']['type'] == 'ToRRouter' %}
33+
bgp graceful-restart preserve-fw-state
34+
{% endif %}
3235
{% for (name, prefix) in LOOPBACK_INTERFACE|pfx_filter %}
3336
{% if prefix | ipv4 and name == 'Loopback0' %}
3437
bgp router-id {{ prefix | ip }}

0 commit comments

Comments
 (0)