cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
639
Views
0
Helpful
2
Replies

route-map continue statement not working!

Shahzad Qadir
Level 1
Level 1

Hi Guys,

Will anyone be able to have a look at it for me

version -

flash:c1841-advipservicesk9-mz.124-25f.bin

configurations:

route-map REDIST-PRI-LB-TO-5413 permit 10

match ip address prefix-list LOCAL-CPE-LO0

set community 5413:2036

!

route-map REDIST-PRI-LB-TO-5413 permit 20

match ip address prefix-list REDIST-LB-ROUTES-TO-5413

continue 50

set metric 0

set local-preference 150

set community 5413:3280

!

route-map REDIST-PRI-LB-TO-5413 deny 30

!

route-map REDIST-PRI-LB-TO-5413 permit 50

match ip address prefix-list LOCAL-CPE-LO10

set local-preference 150

set community 5413:2017

I can confirm routes refered in prefix-lists are in bgp table. but conitinue just don't work. If i take match statement off in seq 20 then routes are passed to neighor but not with right community and if I have match statement in seq 20 routes dont' get passed at all.

Thanks, Shahzad

2 Replies 2

Shahzad Qadir
Level 1
Level 1

Anyone? This forum used to be very quick and informative a few years ago!

Harold Ritter
Spotlight
Spotlight

Hi Shahzad,

I see a few issues. For set statements under instance 50 to be applied, the prefix would need to pass both prefix-lists (instance 20 and 50). Is that the intent?

Instance 50 has a set community statement without the additive keyword. This means that if a prefix match both instance 20 and 50 prefix-lists, the second community would replace the first. Is that what you want. Please provide more information on what you are trying to achieve.

Regards

Regards,
Harold Ritter, CCIE #4168 (EI, SP)