Reflected Routes with Local Pref 0 #15462
connectlifeit
started this conversation in
General
Replies: 1 comment
-
Because you have |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys, I have a problem with FRR used as Router Reflector
I get the routes from the EBG Peers with local pref at 500
The reflector announces them to its IBGP neighbors by setting local pref 0
On the route map I don't manipulate the outgoing local pref
Here's an example of how he announces them:
Network Next Hop Metric LocPrf Weight Path
*> 0.0.0.0/0 100.127.0.1 0 0 0 i
*> 5.xxx.xxx.0/24 100.127.0.5 0 0 0 i
*> 5.xxx.xxx.0/24 100.127.0.1 0 0 0 i
Config Example:
router bgp xxxxxx
bgp router-id 100.127.0.100
no bgp default ipv4-unicast
bgp cluster-id 100.127.0.100
bgp graceful-shutdown
bgp graceful-restart
bgp route-reflector allow-outbound-policy
neighbor BORDER-V4 peer-group
neighbor BORDER-V4 remote-as 212602
neighbor BORDER-V4 bfd
neighbor BORDER-V4 bfd profile bfd
neighbor BORDER-V4 update-source 100.127.0.100
neighbor BORDER-V6 peer-group
neighbor BORDER-V6 remote-as 212602
neighbor BORDER-V6 bfd
neighbor BORDER-V6 bfd profile bfd
neighbor BORDER-V6 update-source 2a10:7040::100
neighbor BRAS-V4 peer-group
neighbor BRAS-V4 remote-as 212602
neighbor BRAS-V4 bfd
neighbor BRAS-V4 bfd profile bfd
neighbor BRAS-V4 update-source 100.127.0.100
address-family ipv4 unicast
neighbor BORDER-V4 activate
neighbor BORDER-V4 route-reflector-client
neighbor BORDER-V4 soft-reconfiguration inbound
neighbor BORDER-V4 route-map v4-in-border in
neighbor BORDER-V4 route-map v4-border-out out
neighbor BRAS-V4 activate
neighbor BRAS-V4 route-reflector-client
neighbor BRAS-V4 soft-reconfiguration inbound
neighbor BRAS-V4 route-map v4-in-bras in
neighbor BRAS-V4 route-map v4-out-bras out
neighbor EDGE-V4 activate
neighbor EDGE-V4 route-reflector-client
neighbor EDGE-V4 soft-reconfiguration inbound
neighbor EDGE-V4 route-map v4-edge-in in
neighbor EDGE-V4 route-map v4-edge-out out
neighbor REFLECTOR-V4 activate
neighbor REFLECTOR-V4 soft-reconfiguration inbound
neighbor REFLECTOR-V4 route-map v4-reflector-in in
neighbor REFLECTOR-V4 route-map v4-reflector-out out
neighbor SIP-V4 activate
neighbor SIP-V4 route-reflector-client
neighbor SIP-V4 soft-reconfiguration inbound
neighbor SIP-V4 route-map v4-sip-in in
neighbor SIP-V4 route-map v4-sip-out out
exit-address-family
!
!
route-map v4-in-bras permit 5
match ip address prefix-list v4-customers-network
exit
!
route-map v4-out-bras permit 5
match ip address prefix-list default-route
exit
!
route-map v4-out-bras permit 10
match ip address prefix-list v4-customers-network
exit
!
route-map v4-out-bras permit 15
match ip address prefix-list v4-connectlife-network
exit
!
route-map v4-in-border permit 5
match rpki invalid
set local-preference 10
exit
!
route-map v4-in-border permit 10
match rpki notfound
set local-preference 100
exit
!
route-map v4-in-border permit 15
match rpki valid
set local-preference 500
exit
!
route-map v4-in-border permit 20
exit
!
route-map v4-ospf-in permit 5
match ip address prefix-list v4-ospf
exit
!
route-map v4-ospf-out permit 5
match ip address prefix-list v4-ospf
exit
!
route-map v4-edge-out permit 10
match ip address prefix-list default-route
exit
!
route-map v4-edge-out permit 15
match ip address prefix-list v4-customers-network
exit
!
route-map v4-edge-out permit 20
match ip address prefix-list v4-connectlife-network
exit
!
route-map v4-edge-in permit 5
match ip address prefix-list v4-connectlife-network
exit
!
route-map v4-sip-out permit 5
match ip address prefix-list v4-customers-network
exit
!
route-map v4-sip-in permit 5
match ip address prefix-list v4-sip-network
exit
!
route-map v6-in-bras permit 5
match ipv6 address prefix-list v6-customers-network
exit
!
route-map v6-out-bras permit 5
match ipv6 address prefix-list v6-default-route
exit
!
route-map v6-out-bras permit 10
match ipv6 address prefix-list v6-customers-network
exit
!
route-map v6-out-bras permit 15
match ipv6 address prefix-list v6-connectlife-network
exit
!
route-map v6-in-border permit 5
match rpki invalid
set local-preference 10
exit
!
route-map v6-in-border permit 10
match rpki notfound
set local-preference 100
exit
!
route-map v6-in-border permit 15
match rpki valid
set local-preference 500
exit
!
route-map v6-in-border permit 20
exit
!
route-map v6-edge-out permit 10
match ipv6 address prefix-list v6-default-route
exit
!
route-map v6-edge-out permit 15
match ipv6 address prefix-list v6-customers-network
exit
!
route-map v6-edge-out permit 20
match ipv6 address prefix-list v6-connectlife-network
exit
!
route-map v6-edge-in permit 5
match ipv6 address prefix-list v6-connectlife-network
exit
!
route-map v4-reflector-in permit 5
exit
!
route-map v4-reflector-out permit 5
exit
!
route-map v6-reflector-in permit 5
exit
!
route-map v6-reflector-out permit 5
exit
!
route-map v6-reflector-out permit 10
exit
!
route-map v4-border-out permit 5
exit
!
route-map v6-border-out permit 5
exit
!
Beta Was this translation helpful? Give feedback.
All reactions