cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1128
Views
5
Helpful
5
Replies

Route map for deny default route and advertise LP 50 for all others

Wizzle1
Level 1
Level 1

Hi,

 

I am testing a scenario on my Level-2 Route Reflector to use a route-map for denying default route towards Level-1 RR and for all other routes which it learn from its clients, add LP 50. I use prefix-list for match and deny 0/0 and permit all other routes.

 

First part of deny default works fine as long as I don't config setting LP 50. When i config it, LP gets applied by, L2 RR start advertising default route as well

 

Can anyone suggest where i m wrong or how i can achieve it ?

 

In simple words, deny default and apply LP to all other routes using prefix-list under route-map doesn't work. As soon i apply LP command, default advertisement starts working too.

 

Appreciate guidance!

 

 

1 Accepted Solution

Accepted Solutions

omz
VIP Alumni
VIP Alumni

ip prefix-list no-default seq 5 deny 0.0.0.0/0

ip prefix-list no-default seq 10 permit 0.0.0.0/0 le 32

route-map lp per 10
match ip add prefix-l no-default
set local 50

View solution in original post

5 Replies 5

omz
VIP Alumni
VIP Alumni

hi 

can you please share the RM and PL config?

thanks 

omz
VIP Alumni
VIP Alumni

ip prefix-list no-default seq 5 deny 0.0.0.0/0

ip prefix-list no-default seq 10 permit 0.0.0.0/0 le 32

route-map lp per 10
match ip add prefix-l no-default
set local 50

My configuration is exactly same, however, if I get default removed LP doesn't work. If LP works for specific, default route is there too. So i was thinking may b i missing something. Also i tried 0.0.0.0/0 ge 1 which is same thing but didn't work.

Thanks OMZ, it was bug of simulator. My configuration matches with urs and it works fine. Sometimes restart is only Solution. Thanks.

glad to help .. simulation (shaking head) been there .. when you doubt your perfect config .. :)