cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

2277
Views
10
Helpful
2
Replies
Highlighted
Not applicable

BGP distribute-list prefix

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

Everyone's tags (2)
2 REPLIES 2
Advisor

BGP distribute-list prefix

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.

Don't forget to rate helpful posts.
Not applicable

BGP distribute-list prefix

Thanks Alain.

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards