[chassis/multi-asic] Enable Sending BGP Community over internal neighbors over iBGP Session (#16705) (#16710)
This commit is contained in:
parent
45d5701c4b
commit
4a75f1be0a
@ -14,6 +14,7 @@
|
|||||||
neighbor INTERNAL_PEER_V4 allowas-in 1
|
neighbor INTERNAL_PEER_V4 allowas-in 1
|
||||||
neighbor INTERNAL_PEER_V4 route-map FROM_BGP_INTERNAL_PEER_V4 in
|
neighbor INTERNAL_PEER_V4 route-map FROM_BGP_INTERNAL_PEER_V4 in
|
||||||
neighbor INTERNAL_PEER_V4 route-map TO_BGP_INTERNAL_PEER_V4 out
|
neighbor INTERNAL_PEER_V4 route-map TO_BGP_INTERNAL_PEER_V4 out
|
||||||
|
neighbor INTERNAL_PEER_V4 send-community
|
||||||
exit-address-family
|
exit-address-family
|
||||||
{% if CONFIG_DB__DEVICE_METADATA['localhost']['switch_type'] == 'chassis-packet' %}
|
{% if CONFIG_DB__DEVICE_METADATA['localhost']['switch_type'] == 'chassis-packet' %}
|
||||||
neighbor INTERNAL_PEER_V6 update-source Loopback4096
|
neighbor INTERNAL_PEER_V6 update-source Loopback4096
|
||||||
@ -26,6 +27,7 @@
|
|||||||
neighbor INTERNAL_PEER_V6 allowas-in 1
|
neighbor INTERNAL_PEER_V6 allowas-in 1
|
||||||
neighbor INTERNAL_PEER_V6 route-map FROM_BGP_INTERNAL_PEER_V6 in
|
neighbor INTERNAL_PEER_V6 route-map FROM_BGP_INTERNAL_PEER_V6 in
|
||||||
neighbor INTERNAL_PEER_V6 route-map TO_BGP_INTERNAL_PEER_V6 out
|
neighbor INTERNAL_PEER_V6 route-map TO_BGP_INTERNAL_PEER_V6 out
|
||||||
|
neighbor INTERNAL_PEER_V6 send-community
|
||||||
exit-address-family
|
exit-address-family
|
||||||
!
|
!
|
||||||
! end of template: bgpd/templates/internal/peer-group.conf.j2
|
! end of template: bgpd/templates/internal/peer-group.conf.j2
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
neighbor VOQ_CHASSIS_V4_PEER soft-reconfiguration inbound
|
neighbor VOQ_CHASSIS_V4_PEER soft-reconfiguration inbound
|
||||||
neighbor VOQ_CHASSIS_V4_PEER route-map FROM_VOQ_CHASSIS_V4_PEER in
|
neighbor VOQ_CHASSIS_V4_PEER route-map FROM_VOQ_CHASSIS_V4_PEER in
|
||||||
neighbor VOQ_CHASSIS_V4_PEER route-map TO_VOQ_CHASSIS_V4_PEER out
|
neighbor VOQ_CHASSIS_V4_PEER route-map TO_VOQ_CHASSIS_V4_PEER out
|
||||||
|
neighbor VOQ_CHASSIS_V4_PEER send-community
|
||||||
exit-address-family
|
exit-address-family
|
||||||
address-family ipv6
|
address-family ipv6
|
||||||
{% if CONFIG_DB__DEVICE_METADATA['localhost']['type'] == 'ToRRouter' %}
|
{% if CONFIG_DB__DEVICE_METADATA['localhost']['type'] == 'ToRRouter' %}
|
||||||
@ -22,6 +23,7 @@
|
|||||||
neighbor VOQ_CHASSIS_V6_PEER soft-reconfiguration inbound
|
neighbor VOQ_CHASSIS_V6_PEER soft-reconfiguration inbound
|
||||||
neighbor VOQ_CHASSIS_V6_PEER route-map FROM_VOQ_CHASSIS_V6_PEER in
|
neighbor VOQ_CHASSIS_V6_PEER route-map FROM_VOQ_CHASSIS_V6_PEER in
|
||||||
neighbor VOQ_CHASSIS_V6_PEER route-map TO_VOQ_CHASSIS_V6_PEER out
|
neighbor VOQ_CHASSIS_V6_PEER route-map TO_VOQ_CHASSIS_V6_PEER out
|
||||||
|
neighbor VOQ_CHASSIS_V6_PEER send-community
|
||||||
exit-address-family
|
exit-address-family
|
||||||
!
|
!
|
||||||
! end of template: bgpd/templates/voq_chassis/peer-group.conf.j2
|
! end of template: bgpd/templates/voq_chassis/peer-group.conf.j2
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
neighbor INTERNAL_PEER_V4 allowas-in 1
|
neighbor INTERNAL_PEER_V4 allowas-in 1
|
||||||
neighbor INTERNAL_PEER_V4 route-map FROM_BGP_INTERNAL_PEER_V4 in
|
neighbor INTERNAL_PEER_V4 route-map FROM_BGP_INTERNAL_PEER_V4 in
|
||||||
neighbor INTERNAL_PEER_V4 route-map TO_BGP_INTERNAL_PEER_V4 out
|
neighbor INTERNAL_PEER_V4 route-map TO_BGP_INTERNAL_PEER_V4 out
|
||||||
|
neighbor INTERNAL_PEER_V4 send-community
|
||||||
exit-address-family
|
exit-address-family
|
||||||
address-family ipv6
|
address-family ipv6
|
||||||
neighbor INTERNAL_PEER_V6 route-reflector-client
|
neighbor INTERNAL_PEER_V6 route-reflector-client
|
||||||
@ -16,6 +17,7 @@
|
|||||||
neighbor INTERNAL_PEER_V6 allowas-in 1
|
neighbor INTERNAL_PEER_V6 allowas-in 1
|
||||||
neighbor INTERNAL_PEER_V6 route-map FROM_BGP_INTERNAL_PEER_V6 in
|
neighbor INTERNAL_PEER_V6 route-map FROM_BGP_INTERNAL_PEER_V6 in
|
||||||
neighbor INTERNAL_PEER_V6 route-map TO_BGP_INTERNAL_PEER_V6 out
|
neighbor INTERNAL_PEER_V6 route-map TO_BGP_INTERNAL_PEER_V6 out
|
||||||
|
neighbor INTERNAL_PEER_V6 send-community
|
||||||
exit-address-family
|
exit-address-family
|
||||||
!
|
!
|
||||||
! end of template: bgpd/templates/internal/peer-group.conf.j2
|
! end of template: bgpd/templates/internal/peer-group.conf.j2
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
neighbor INTERNAL_PEER_V4 allowas-in 1
|
neighbor INTERNAL_PEER_V4 allowas-in 1
|
||||||
neighbor INTERNAL_PEER_V4 route-map FROM_BGP_INTERNAL_PEER_V4 in
|
neighbor INTERNAL_PEER_V4 route-map FROM_BGP_INTERNAL_PEER_V4 in
|
||||||
neighbor INTERNAL_PEER_V4 route-map TO_BGP_INTERNAL_PEER_V4 out
|
neighbor INTERNAL_PEER_V4 route-map TO_BGP_INTERNAL_PEER_V4 out
|
||||||
|
neighbor INTERNAL_PEER_V4 send-community
|
||||||
exit-address-family
|
exit-address-family
|
||||||
neighbor INTERNAL_PEER_V6 update-source Loopback4096
|
neighbor INTERNAL_PEER_V6 update-source Loopback4096
|
||||||
address-family ipv6
|
address-family ipv6
|
||||||
@ -16,6 +17,7 @@
|
|||||||
neighbor INTERNAL_PEER_V6 allowas-in 1
|
neighbor INTERNAL_PEER_V6 allowas-in 1
|
||||||
neighbor INTERNAL_PEER_V6 route-map FROM_BGP_INTERNAL_PEER_V6 in
|
neighbor INTERNAL_PEER_V6 route-map FROM_BGP_INTERNAL_PEER_V6 in
|
||||||
neighbor INTERNAL_PEER_V6 route-map TO_BGP_INTERNAL_PEER_V6 out
|
neighbor INTERNAL_PEER_V6 route-map TO_BGP_INTERNAL_PEER_V6 out
|
||||||
|
neighbor INTERNAL_PEER_V6 send-community
|
||||||
exit-address-family
|
exit-address-family
|
||||||
!
|
!
|
||||||
! end of template: bgpd/templates/internal/peer-group.conf.j2
|
! end of template: bgpd/templates/internal/peer-group.conf.j2
|
||||||
|
@ -8,12 +8,14 @@
|
|||||||
neighbor INTERNAL_PEER_V4 allowas-in 1
|
neighbor INTERNAL_PEER_V4 allowas-in 1
|
||||||
neighbor INTERNAL_PEER_V4 route-map FROM_BGP_INTERNAL_PEER_V4 in
|
neighbor INTERNAL_PEER_V4 route-map FROM_BGP_INTERNAL_PEER_V4 in
|
||||||
neighbor INTERNAL_PEER_V4 route-map TO_BGP_INTERNAL_PEER_V4 out
|
neighbor INTERNAL_PEER_V4 route-map TO_BGP_INTERNAL_PEER_V4 out
|
||||||
|
neighbor INTERNAL_PEER_V4 send-community
|
||||||
exit-address-family
|
exit-address-family
|
||||||
address-family ipv6
|
address-family ipv6
|
||||||
neighbor INTERNAL_PEER_V6 soft-reconfiguration inbound
|
neighbor INTERNAL_PEER_V6 soft-reconfiguration inbound
|
||||||
neighbor INTERNAL_PEER_V6 allowas-in 1
|
neighbor INTERNAL_PEER_V6 allowas-in 1
|
||||||
neighbor INTERNAL_PEER_V6 route-map FROM_BGP_INTERNAL_PEER_V6 in
|
neighbor INTERNAL_PEER_V6 route-map FROM_BGP_INTERNAL_PEER_V6 in
|
||||||
neighbor INTERNAL_PEER_V6 route-map TO_BGP_INTERNAL_PEER_V6 out
|
neighbor INTERNAL_PEER_V6 route-map TO_BGP_INTERNAL_PEER_V6 out
|
||||||
|
neighbor INTERNAL_PEER_V6 send-community
|
||||||
exit-address-family
|
exit-address-family
|
||||||
!
|
!
|
||||||
! end of template: bgpd/templates/internal/peer-group.conf.j2
|
! end of template: bgpd/templates/internal/peer-group.conf.j2
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
neighbor VOQ_CHASSIS_V4_PEER soft-reconfiguration inbound
|
neighbor VOQ_CHASSIS_V4_PEER soft-reconfiguration inbound
|
||||||
neighbor VOQ_CHASSIS_V4_PEER route-map FROM_VOQ_CHASSIS_V4_PEER in
|
neighbor VOQ_CHASSIS_V4_PEER route-map FROM_VOQ_CHASSIS_V4_PEER in
|
||||||
neighbor VOQ_CHASSIS_V4_PEER route-map TO_VOQ_CHASSIS_V4_PEER out
|
neighbor VOQ_CHASSIS_V4_PEER route-map TO_VOQ_CHASSIS_V4_PEER out
|
||||||
|
neighbor VOQ_CHASSIS_V4_PEER send-community
|
||||||
exit-address-family
|
exit-address-family
|
||||||
address-family ipv6
|
address-family ipv6
|
||||||
neighbor VOQ_CHASSIS_V6_PEER allowas-in 1
|
neighbor VOQ_CHASSIS_V6_PEER allowas-in 1
|
||||||
@ -18,6 +19,7 @@
|
|||||||
neighbor VOQ_CHASSIS_V6_PEER soft-reconfiguration inbound
|
neighbor VOQ_CHASSIS_V6_PEER soft-reconfiguration inbound
|
||||||
neighbor VOQ_CHASSIS_V6_PEER route-map FROM_VOQ_CHASSIS_V6_PEER in
|
neighbor VOQ_CHASSIS_V6_PEER route-map FROM_VOQ_CHASSIS_V6_PEER in
|
||||||
neighbor VOQ_CHASSIS_V6_PEER route-map TO_VOQ_CHASSIS_V6_PEER out
|
neighbor VOQ_CHASSIS_V6_PEER route-map TO_VOQ_CHASSIS_V6_PEER out
|
||||||
|
neighbor VOQ_CHASSIS_V6_PEER send-community
|
||||||
exit-address-family
|
exit-address-family
|
||||||
!
|
!
|
||||||
! end of template: bgpd/templates/voq_chassis/peer-group.conf.j2
|
! end of template: bgpd/templates/voq_chassis/peer-group.conf.j2
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
neighbor VOQ_CHASSIS_V4_PEER soft-reconfiguration inbound
|
neighbor VOQ_CHASSIS_V4_PEER soft-reconfiguration inbound
|
||||||
neighbor VOQ_CHASSIS_V4_PEER route-map FROM_VOQ_CHASSIS_V4_PEER in
|
neighbor VOQ_CHASSIS_V4_PEER route-map FROM_VOQ_CHASSIS_V4_PEER in
|
||||||
neighbor VOQ_CHASSIS_V4_PEER route-map TO_VOQ_CHASSIS_V4_PEER out
|
neighbor VOQ_CHASSIS_V4_PEER route-map TO_VOQ_CHASSIS_V4_PEER out
|
||||||
|
neighbor VOQ_CHASSIS_V4_PEER send-community
|
||||||
exit-address-family
|
exit-address-family
|
||||||
address-family ipv6
|
address-family ipv6
|
||||||
neighbor VOQ_CHASSIS_V6_PEER activate
|
neighbor VOQ_CHASSIS_V6_PEER activate
|
||||||
@ -16,6 +17,7 @@
|
|||||||
neighbor VOQ_CHASSIS_V6_PEER soft-reconfiguration inbound
|
neighbor VOQ_CHASSIS_V6_PEER soft-reconfiguration inbound
|
||||||
neighbor VOQ_CHASSIS_V6_PEER route-map FROM_VOQ_CHASSIS_V6_PEER in
|
neighbor VOQ_CHASSIS_V6_PEER route-map FROM_VOQ_CHASSIS_V6_PEER in
|
||||||
neighbor VOQ_CHASSIS_V6_PEER route-map TO_VOQ_CHASSIS_V6_PEER out
|
neighbor VOQ_CHASSIS_V6_PEER route-map TO_VOQ_CHASSIS_V6_PEER out
|
||||||
|
neighbor VOQ_CHASSIS_V6_PEER send-community
|
||||||
exit-address-family
|
exit-address-family
|
||||||
!
|
!
|
||||||
! end of template: bgpd/templates/voq_chassis/peer-group.conf.j2
|
! end of template: bgpd/templates/voq_chassis/peer-group.conf.j2
|
||||||
|
Loading…
Reference in New Issue
Block a user