01-17-2013 07:08 AM - last edited on 03-07-2019 11:08 AM by NikolaIvanov
Hi all,
Is anybody able to assist with why the below configuraiton does not work? BGP exchanges routes without a problem all the time the distribute list is removed from the config. When I apply the distribute list it blocks all routes, not just those intended in the prefix list.
router bgp 65535
no synchronization
bgp log-neighbor-changes
network 10.18.68.0 mask 255.255.255.0
neighbor 172.18.2.1 remote-as 65535
neighbor 172.18.2.1 password ciscobgp
distribute-list prefix CORE_ROUTES out
no auto-summary
!
!
!
ip prefix-list CORE_ROUTES seq 5 deny 10.1.1.0/24
Thanks in advance.
Neil
01-17-2013 07:19 AM
Hi,
don't forget that there is an implicit deny all as in ACLs so you need to add an explicit permit:
ip prefix CORE_ROUTES permit 0.0.0.0/0 le 32
Don't forget to do a route refresh with do clear ip bgp * out
Regards.
Alain
Don't forget to rate helpful posts.
01-17-2013 08:29 AM
Thanks Alain.
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