08-23-2013 07:23 AM - edited 03-07-2019 03:05 PM
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
08-23-2013 08:23 AM
Anyone? This forum used to be very quick and informative a few years ago!
08-23-2013 08:41 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide