2021-04-16 13:11:32 -05:00
|
|
|
!
|
|
|
|
! template: bgpd/templates/voq_chassis/policies.conf.j2
|
|
|
|
!
|
2023-11-20 11:42:02 -06:00
|
|
|
bgp community-list standard DEVICE_INTERNAL_COMMUNITY permit {{ constants.bgp.internal_community }}
|
|
|
|
!
|
|
|
|
route-map FROM_VOQ_CHASSIS_V4_PEER permit 1
|
|
|
|
match community DEVICE_INTERNAL_COMMUNITY
|
|
|
|
set comm-list DEVICE_INTERNAL_COMMUNITY delete
|
|
|
|
set tag {{ constants.bgp.internal_community_match_tag }}
|
|
|
|
!
|
2022-02-24 13:21:26 -06:00
|
|
|
route-map FROM_VOQ_CHASSIS_V4_PEER permit 100
|
2021-04-16 13:11:32 -05:00
|
|
|
!
|
2023-11-20 11:42:02 -06:00
|
|
|
route-map TO_VOQ_CHASSIS_V4_PEER permit 1
|
|
|
|
match ip address prefix-list PL_LoopbackV4
|
|
|
|
set community {{ constants.bgp.internal_community }}
|
|
|
|
!
|
2022-02-24 13:21:26 -06:00
|
|
|
route-map TO_VOQ_CHASSIS_V4_PEER permit 100
|
|
|
|
!
|
|
|
|
!
|
|
|
|
route-map FROM_VOQ_CHASSIS_V6_PEER permit 1
|
|
|
|
set ipv6 next-hop prefer-global
|
|
|
|
on-match next
|
|
|
|
!
|
2023-11-20 11:42:02 -06:00
|
|
|
route-map FROM_VOQ_CHASSIS_V6_PEER permit 2
|
|
|
|
match community DEVICE_INTERNAL_COMMUNITY
|
|
|
|
set comm-list DEVICE_INTERNAL_COMMUNITY delete
|
|
|
|
set tag {{ constants.bgp.internal_community_match_tag }}
|
|
|
|
!
|
2022-02-24 13:21:26 -06:00
|
|
|
route-map FROM_VOQ_CHASSIS_V6_PEER permit 100
|
|
|
|
!
|
2023-11-20 11:42:02 -06:00
|
|
|
route-map TO_VOQ_CHASSIS_V6_PEER permit 1
|
|
|
|
match ipv6 address prefix-list PL_LoopbackV6
|
|
|
|
set community {{ constants.bgp.internal_community }}
|
|
|
|
!
|
2022-02-24 13:21:26 -06:00
|
|
|
route-map TO_VOQ_CHASSIS_V6_PEER permit 100
|
2021-04-16 13:11:32 -05:00
|
|
|
!
|
|
|
|
! end of template: bgpd/templates/voq_chassis/policies.conf.j2
|
|
|
|
!
|