diff --git a/dockers/docker-fpm-frr/frr/bgpd/bgpd.main.conf.j2 b/dockers/docker-fpm-frr/frr/bgpd/bgpd.main.conf.j2 index 725ea6b74a..5c91a34737 100644 --- a/dockers/docker-fpm-frr/frr/bgpd/bgpd.main.conf.j2 +++ b/dockers/docker-fpm-frr/frr/bgpd/bgpd.main.conf.j2 @@ -81,7 +81,7 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }} {% if multi_asic is defined %} {% if get_ipv6_loopback_address(LOOPBACK_INTERFACE, "Loopback4096") != 'None' %} address-family ipv6 - network {{ get_ipv6_loopback_address(LOOPBACK_INTERFACE, "Loopback4096") | ip }}/64 route-map HIDE_INTERNAL + network {{ get_ipv6_loopback_address(LOOPBACK_INTERFACE, "Loopback4096") | ip }}/128 route-map HIDE_INTERNAL exit-address-family {% endif %} {% endif %} diff --git a/src/sonic-bgpcfgd/tests/data/sonic-cfggen/bgpd.conf.j2/all.conf b/src/sonic-bgpcfgd/tests/data/sonic-cfggen/bgpd.conf.j2/all.conf index 27d0fa690d..b6f7a668bc 100644 --- a/src/sonic-bgpcfgd/tests/data/sonic-cfggen/bgpd.conf.j2/all.conf +++ b/src/sonic-bgpcfgd/tests/data/sonic-cfggen/bgpd.conf.j2/all.conf @@ -62,7 +62,7 @@ router bgp 55555 network fc00::1/64 exit-address-family address-family ipv6 - network fc00::2/64 route-map HIDE_INTERNAL + network fc00::2/128 route-map HIDE_INTERNAL exit-address-family ! network 10.10.10.1/24 diff --git a/src/sonic-bgpcfgd/tests/data/sonic-cfggen/bgpd.main.conf.j2/all.conf b/src/sonic-bgpcfgd/tests/data/sonic-cfggen/bgpd.main.conf.j2/all.conf index 971ddf8b50..5d09db5965 100644 --- a/src/sonic-bgpcfgd/tests/data/sonic-cfggen/bgpd.main.conf.j2/all.conf +++ b/src/sonic-bgpcfgd/tests/data/sonic-cfggen/bgpd.main.conf.j2/all.conf @@ -41,7 +41,7 @@ router bgp 55555 network fc00::1/64 exit-address-family address-family ipv6 - network fc00::2/64 route-map HIDE_INTERNAL + network fc00::2/128 route-map HIDE_INTERNAL exit-address-family ! network 10.10.10.1/24 diff --git a/src/sonic-bgpcfgd/tests/data/sonic-cfggen/bgpd.main.conf.j2/defaults.conf b/src/sonic-bgpcfgd/tests/data/sonic-cfggen/bgpd.main.conf.j2/defaults.conf index 2aa2a2e2e8..14aa080efb 100644 --- a/src/sonic-bgpcfgd/tests/data/sonic-cfggen/bgpd.main.conf.j2/defaults.conf +++ b/src/sonic-bgpcfgd/tests/data/sonic-cfggen/bgpd.main.conf.j2/defaults.conf @@ -41,7 +41,7 @@ router bgp 55555 network fc00::1/64 exit-address-family address-family ipv6 - network fc00::2/64 route-map HIDE_INTERNAL + network fc00::2/128 route-map HIDE_INTERNAL exit-address-family ! network 10.10.10.1/24 diff --git a/src/sonic-bgpcfgd/tests/data/sonic-cfggen/frr.conf.j2/all.conf b/src/sonic-bgpcfgd/tests/data/sonic-cfggen/frr.conf.j2/all.conf index 7fc6df1d7a..1996dced81 100644 --- a/src/sonic-bgpcfgd/tests/data/sonic-cfggen/frr.conf.j2/all.conf +++ b/src/sonic-bgpcfgd/tests/data/sonic-cfggen/frr.conf.j2/all.conf @@ -77,7 +77,7 @@ router bgp 55555 network fc00::1/64 exit-address-family address-family ipv6 - network fc00::2/64 route-map HIDE_INTERNAL + network fc00::2/128 route-map HIDE_INTERNAL exit-address-family ! network 10.10.10.1/24 diff --git a/src/sonic-config-engine/tests/sample_output/py2/bgpd_frr_backend_asic.conf b/src/sonic-config-engine/tests/sample_output/py2/bgpd_frr_backend_asic.conf index 518217125d..a4ad1c677a 100644 --- a/src/sonic-config-engine/tests/sample_output/py2/bgpd_frr_backend_asic.conf +++ b/src/sonic-config-engine/tests/sample_output/py2/bgpd_frr_backend_asic.conf @@ -60,7 +60,7 @@ router bgp 65100 network fc00:1::32/64 exit-address-family address-family ipv6 - network fd00:4::32/64 route-map HIDE_INTERNAL + network fd00:4::32/128 route-map HIDE_INTERNAL exit-address-family ! ! diff --git a/src/sonic-config-engine/tests/sample_output/py2/bgpd_frr_frontend_asic.conf b/src/sonic-config-engine/tests/sample_output/py2/bgpd_frr_frontend_asic.conf index 298543e348..b49d3ddd4d 100644 --- a/src/sonic-config-engine/tests/sample_output/py2/bgpd_frr_frontend_asic.conf +++ b/src/sonic-config-engine/tests/sample_output/py2/bgpd_frr_frontend_asic.conf @@ -60,7 +60,7 @@ router bgp 65100 network fc00:1::32/64 exit-address-family address-family ipv6 - network fd00:1::32/64 route-map HIDE_INTERNAL + network fd00:1::32/128 route-map HIDE_INTERNAL exit-address-family ! ! diff --git a/src/sonic-config-engine/tests/sample_output/py3/bgpd_frr_backend_asic.conf b/src/sonic-config-engine/tests/sample_output/py3/bgpd_frr_backend_asic.conf index 518217125d..a4ad1c677a 100644 --- a/src/sonic-config-engine/tests/sample_output/py3/bgpd_frr_backend_asic.conf +++ b/src/sonic-config-engine/tests/sample_output/py3/bgpd_frr_backend_asic.conf @@ -60,7 +60,7 @@ router bgp 65100 network fc00:1::32/64 exit-address-family address-family ipv6 - network fd00:4::32/64 route-map HIDE_INTERNAL + network fd00:4::32/128 route-map HIDE_INTERNAL exit-address-family ! ! diff --git a/src/sonic-config-engine/tests/sample_output/py3/bgpd_frr_frontend_asic.conf b/src/sonic-config-engine/tests/sample_output/py3/bgpd_frr_frontend_asic.conf index 298543e348..b49d3ddd4d 100644 --- a/src/sonic-config-engine/tests/sample_output/py3/bgpd_frr_frontend_asic.conf +++ b/src/sonic-config-engine/tests/sample_output/py3/bgpd_frr_frontend_asic.conf @@ -60,7 +60,7 @@ router bgp 65100 network fc00:1::32/64 exit-address-family address-family ipv6 - network fd00:1::32/64 route-map HIDE_INTERNAL + network fd00:1::32/128 route-map HIDE_INTERNAL exit-address-family ! !