Skip to content

Commit 80298fa

Browse files
authored
[bgp]:Add redistribution connected for ipv6 also for Frontend ASICs (sonic-net#4767)
* fix redistribution connected for ipv6 also Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
1 parent 0029d36 commit 80298fa

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,12 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }}
6363
!
6464
!
6565
{% if DEVICE_METADATA['localhost']['sub_role'] == 'FrontEnd' %}
66-
redistribute connected route-map HIDE_INTERNAL
66+
address-family ipv4
67+
redistribute connected route-map HIDE_INTERNAL
68+
exit-address-family
69+
address-family ipv6
70+
redistribute connected route-map HIDE_INTERNAL
71+
exit-address-family
6772
{% endif %}
6873
!
6974
{% if constants.bgp.maximum_paths.enabled is defined and constants.bgp.maximum_paths.enabled %}

0 commit comments

Comments
 (0)