File tree 3 files changed +5
-0
lines changed
dockers/docker-fpm-frr/frr/bgpd
src/sonic-bgpcfgd/tests/data/sonic-cfggen/bgpd.main.conf.j2
3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,9 @@ router bgp {{ DEVICE_METADATA['localhost']['bgp_asn'] }}
93
93
{% if get_ipv 6_loopback_address (LOOPBACK_INTERFACE , "Loopback0" ) != 'None' %}
94
94
address-family ipv6
95
95
network {{ get_ipv6_loopback_address(LOOPBACK_INTERFACE, "Loopback0") | ip }}/64
96
+ {% if DEVICE_METADATA ['localhost' ]['switch_type' ] == 'voq' or DEVICE_METADATA ['localhost' ]['switch_type' ] == 'chassis-packet' %}
97
+ network {{ get_ipv6_loopback_address(LOOPBACK_INTERFACE, "Loopback0") | ip }}/128 route-map HIDE_INTERNAL
98
+ {% endif %}
96
99
exit-address-family
97
100
{% endif %}
98
101
{% if ((multi_asic is defined and DEVICE_METADATA ['localhost' ]['switch_type' ] != 'chassis-packet' ) or (DEVICE_METADATA ['localhost' ]['switch_type' ] == 'voq' )) %}
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ router bgp 55555
46
46
!
47
47
address-family ipv6
48
48
network fc00::1/64
49
+ network fc00::1/128 route-map HIDE_INTERNAL
49
50
exit-address-family
50
51
!
51
52
network 10.10.10.1/24
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ router bgp 55555
47
47
!
48
48
address-family ipv6
49
49
network fc00::1/64
50
+ network fc00::1/128 route-map HIDE_INTERNAL
50
51
exit-address-family
51
52
address-family ipv6
52
53
network fc00::2/128 route-map HIDE_INTERNAL
You can’t perform that action at this time.
0 commit comments