02-27-2020 05:43 PM
Haven't had to do this in a number of years and cannot get our new ISP to see any advertised routes for BGP.
Tried hacking away at prefix-lists, etc. but just cannot seem to get advertisements out.
It's got to be something staring me in the face but I just can't see it after a couple of days. Any ideas?
We're using this:
router rip
version 2
redistribute bgp 123456
network AAA.0.0.0
!
router bgp 123456
bgp router-id BBB.BBB.BBB.2
bgp log-neighbor-changes
network AAA.AAA.AAA.0 mask 255.255.255.0
redistribute rip
neighbor BBB.BBB.BBB.1 remote-as 174
!
ip route 0.0.0.0 0.0.0.0 BBB.BBB.BBB.1
!
!
ip prefix-list DEFAULT-ROUTE seq 5 permit 0.0.0.0/0
!
ip prefix-list PREPEND-LIST seq 5 permit AAA.AAA.AAA.0/24
logging trap debugging
access-list 30 deny 224.0.1.35 log
access-list 30 deny 224.0.1.60 log
access-list 30 deny 224.0.1.3 log
access-list 30 deny 224.0.1.2 log
access-list 30 deny 224.0.1.22 log
access-list 30 deny 224.0.1.24 log
access-list 30 remark Multicast Filtering ACL
access-list 30 deny 224.0.0.0 0.0.0.255 log
access-list 30 deny 239.0.0.0 0.255.255.255 log
access-list 30 permit 224.0.0.0 15.255.255.255 log
access-list 101 permit ip any any
!
route-map PREPEND-MAP-B permit 10
match ip address prefix-list PREPEND-LIST
set as-path prepend 123456 123456 123456 123456
!
route-map PREPEND-MAP-B permit 20
!
route-map DEFAULT-ONLY permit 10
match ip address prefix-list DEFAULT-ROUTE
03-05-2020 09:06 PM
So far I've tried with no joy in Mudville to -
Set community (in)
Set weight (both in & out) to 16384
set as-path prepend (both in & out) 2, 3, and 4 times repeating our AS number
set local-preference (both in & out) to 250
-But still end up with the same results with sh ip nei <neighbor's address> advertised-routes -
next hop - 0.0.0.0,
LocPrf - (blank)
Weight - 32768
Path - i
Any more ideas to get this circuit to not match the one we want to use as primary?
03-05-2020 09:13 PM
03-06-2020 12:17 AM
To influence inbound routing to you then AS prepend the route advertisements to the ISP.
And to influence outbound routing then if both circuits are on the same router use weight, if on different routers then run IBGP between them and use local preference.
It's not clear what you have and haven't done ?
Jon
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