12-26-2018 07:26 AM
On R1
access-list 10 permit 7.7.7.7 log ! route-map set-LP-300 permit 10 match ip address 10 set local-preference 300 ! route-map set-IP-300 permit 20 ! router bgp 65001 . . . . address-family ipv4 network 1.1.1.1 mask 255.255.255.255 neighbor 2.2.2.2 activate neighbor 3.3.3.3 activate neighbor 3.3.3.3 soft-reconfiguration inbound neighbor 3.3.3.3 route-map set-LP-300 in exit-address-family R1(config)#do show access-lists Standard IP access list 10 10 permit 7.7.7.7 log (1 match)
On R4
access-list 10 permit 7.7.7.7 log ! route-map set-LP-300 permit 10 match ip address 10 set local-preference 300 ! route-map set-IP-300 permit 20 ! router bgp 100 bgp log-neighbor-changes neighbor 20.10.1.2 remote-as 65001 neighbor 20.10.2.3 remote-as 65001 neighbor 30.10.1.5 remote-as 200 neighbor 30.10.2.6 remote-as 300 neighbor 30.10.2.6 route-map set-IP-300 in R4#show access-lists Standard IP access list 10 10 permit 7.7.7.7 log
Why no match on R4 ?
thanks !!
Solved! Go to Solution.
12-26-2018 08:35 AM
Is it possible that R4 had already learned the route before you configured the ACL and the route map? What happens if you stop and restart the neighbor relationship on R4?
HTH
Rick
12-26-2018 08:38 AM
Hi
On R4, you’re using set-IP-300 as route-map instead of set-LP-300.
Also I highly believe you’ve done a spelling issue because set-LP-300 set local-pref for 7.7.7.7 and I guest the set-IP-300 permit 20 to take all others as default should have been set-LP-300 permit 20.
12-26-2018 08:58 AM
Francesco
You read more carefully than I did. Congratulations. So often the solution to a problem is in a simple detail that we have overlooked.
HTH
Rick
12-26-2018 09:33 PM
12-26-2018 08:35 AM
Is it possible that R4 had already learned the route before you configured the ACL and the route map? What happens if you stop and restart the neighbor relationship on R4?
HTH
Rick
12-26-2018 08:38 AM
Hi
On R4, you’re using set-IP-300 as route-map instead of set-LP-300.
Also I highly believe you’ve done a spelling issue because set-LP-300 set local-pref for 7.7.7.7 and I guest the set-IP-300 permit 20 to take all others as default should have been set-LP-300 permit 20.
12-26-2018 08:58 AM
Francesco
You read more carefully than I did. Congratulations. So often the solution to a problem is in a simple detail that we have overlooked.
HTH
Rick
12-26-2018 09:07 AM
thanks so much. Sorry for my carelessness.
12-26-2018 09:33 PM
12-26-2018 09:08 AM
thanks so much.
sorry for my carelessness.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide