cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
621
Views
0
Helpful
3
Replies

Prefix-lists

andags
Level 1
Level 1

I have this configuration

IP prefix-list ABC: 2 entries

Seq 5 deny 0.0.0.0/0

Seq10 permit 0.0.0.0/0 le 32

 

I understand second statement allows all networks and first one is used to deny default route.

But I am unable to understand what these 2 statements are trying to achieve.

Please help me in understanding the same

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni
Hi
Your understanding is correct block the default route but allow all other routes , but your missing where the prefix list is applied too , somewhere in config that prefix list is matched and applied to either an interface or a neighbor or a route-map and thats where it comes into effect , its telling that particular neighbor /interface etc , this is exactly what i want to see come into me , the prefix list is the filter

search the rest of the config for where its applied it should make more sense in the design

Hi, Thanks for the clarification. Yes this is applied to the neighbor in BGP routing protocol in the outbound direction.

Does this mean I am not advertising my default route to my neighbor(neighbor here is a service provider) but allow to advertise all of my other routes

Is this right?

 

Yes, that is exactly what it means. 

 

Jon