Re: Can't get route-map continue clause to work

From: Hobbs (deadheadblues@gmail.com)
Date: Sun Jul 13 2008 - 21:46:23 ART


Thanks for the clarification Jason. I do understand it better now: Just like
a normal route-map, the clause must make a match (or have no match
statement, in other words a "match any" type behavior) in order to execute
the continue. If there is a match statement, but nothing is matched, the
continue is not executed.

In this case, R6 did prepend the AS numbers 65123 amd 65234 so it looks like
continue doesn't work. I've only been working with Cisco gear for about a
year, with some CCNA/CCNP studying before that but I never came across a
command that was there but didn't work.

I'm sure some more experienced vets have seen it though :)

On Sun, Jul 13, 2008 at 4:19 PM, Jason Madsen <madsen.jason@gmail.com>
wrote:

> keep in mind "continue" is never used unless its corresponding matches are
> true or else there is no match specified in its route-map entry/sequence.
>
> if it has a corresponding match statement that isn't matched, the route-map
> is traversed normally...sequence by sequence (no skipping).
>
> Jason
>
> On Sun, Jul 13, 2008 at 4:15 PM, Jason Madsen <madsen.jason@gmail.com>
> wrote:
>
>>
>> http://www.cisco.com/en/US/docs/ios/iproute/command/reference/irp_bgp2.html#wp1013940
>>
>> it looks as though the main benefit of using "continue" is to bypass
>> route-map entries when certain conditions are true. as you saw, everything
>> you were trying to accomplish was done with or without the "continue"
>> statement.
>>
>> if you want to test to see if your IOS supports "continue", replace your
>> previous route-map with this one:
>>
>> !
>> route-map TEST3 permit 10
>> match ip address prefix-list LOOPS
>> continue 30
>> set metric 200
>> set as-path prepend 65200
>> !
>> route-map TEST3 permit 20
>> set as-path prepent 65123 65 234
>> set metric 200
>> !
>> route-map TEST3 permit 30
>>
>> assuming you are advertising more routes than those referenced in LOOPS,
>> if your IOS suports "continue" you should NOT see the prepended ASs 65123
>> and 65234 referenced in sequence entry 20. If your IOS doesn't support
>> "continue" than they should show up.
>>
>> Jason
>>
>>
>>
>>
>>
>> On Sun, Jul 13, 2008 at 3:35 PM, Hobbs <deadheadblues@gmail.com> wrote:
>>
>>> hmm...actually on 2nd thought "continue" isnt even doing anything! :/
>>>
>>> I guess I just need to read some more to understand this command or like
>>> Scott said, maybe it isn't operational in this IOS.



This archive was generated by hypermail 2.1.4 : Mon Aug 04 2008 - 06:11:54 ART