Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

route-map continue statement not working!

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
New Member

route-map continue statement not working!

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

Cisco Employee

route-map continue statement not working!

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

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
234
Views
0
Helpful
2
Replies
CreatePlease to create content