From: Jason Madsen (madsen.jason@gmail.com)
Date: Sun Jul 13 2008 - 16:53:37 ART
I believe with your scenario, you need to have all "sets" in the same
sequence as your "match". the remaining sequences be specific to their
respective "matches" or else all remaining routes if no "matches" are
specified. as Scott mentioned, try adding all respective "sets" for your
first match in sequence 10. I believe one of the main reasons for using
"continue" is so that you can skip route-map sequences e.g. in sequence 10
specify continue 30. This would cause sequence 20 to be skipped if the
match, if any, in sequence 10 is a match.
Jason
On Sun, Jul 13, 2008 at 1:38 PM, Hobbs <deadheadblues@gmail.com> wrote:
> John,
> I tried switching like you suggested, that didn't work. Instead all routes
> get metric 200 and nothing got prepended.
>
> R6:
>
> route-map TEST2 permit 10
> set met 200
> continue 20
> route-map TEST2 permit 20
> match ip add pre LOOPS
> set as-path pre 65200
>
> Here is R5's output, notice no prepends. I am using the same prefix-list as
> I was before so I know it matches the routes:
>
> R5#show ip bgp | b Ne
> Network Next Hop Metric LocPrf Weight Path
> *> 6.0.0.0/24 172.14.45.6 200 0 65000 i
> *> 6.0.1.0/24 172.14.45.6 200 0 65000 i
> *> 6.0.2.0/24 172.14.45.6 200 0 65000 i
> *> 6.0.3.0/24 172.14.45.6 200 0 65000 i
>
> Scott, I tried your suggestion and used "continue" instead of "continue
> 20"...but same results with or without the clause number.
>
> There may be other ways to do it, but I am just trying to learn the logic
> behind the continue clause. It seemed so straightforward, I wasn't even
> gonna play with it, but as you can see, something ain't right :)
>
> btw, I am running 12.4(12) ADV ENT IOS
>
>
> On Sun, Jul 13, 2008 at 1:16 PM, Scott Morris <
> smorris@internetworkexpert.com> wrote:
>
> > Which IOS version are you running? It may not be fully implemented yet.
> >
> > Have you tried using "continue" without a number at the end? (which will
> > just go in numerical order)
> >
> > Have you tried simply putting two "set" commands under sequence 10 and
> thus
> > avoiding the need for the continue command all together?
> >
> > That seems a fairly basic route-map in terms of the overall logic, so you
> > shouldn't be out anything by setting metric in sequence 10 (other than
> > missing the 'cool' factor!).
> >
> > Check out
> >
> >
> http://www.cisco.com/en/US/docs/ios/12_3t/12_3t2/feature/guide/gt_brmcs.html
> > if you haven't already.
> >
> > HTH,
> >
> >
> > Scott Morris, CCIE4 #4713, JNCIE-M #153, JNCIS-ER, CISSP, et al.
> > CCSI/JNCI-M/JNCI-ER
> > Senior CCIE Instructor
> >
> > smorris@internetworkexpert.com
> >
> >
> >
> > Internetwork Expert, Inc.
> > http://www.InternetworkExpert.com <http://www.internetworkexpert.com/>
> > Toll Free: 877-224-8987
> > Outside US: 775-826-4344
> > Online Community: http://www.IEOC.com <http://www.ieoc.com/>
> > CCIE Blog: http://blog.internetworkexpert.com
> >
> >
> > Knowledge is power.
> > Power corrupts.
> > Study hard and be Eeeeviiiil......
> >
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> > Hobbs
> > Sent: Sunday, July 13, 2008 1:10 PM
> > To: John
> > Cc: Cisco certification
> > Subject: Re: Can't get route-map continue clause to work
> >
> > John,
> >
> > Thanks for reply. The route-map is outbound on R6, setting the metric is
> > just something I am doing to test continue clause.
> >
> > route-map TEST permit 10
> > match ip address prefix-list LOOPS
> > continue 20
> > set as-path prepend 65200
> > !
> > route-map TEST permit 20
> > set metric 200
> >
> > clause 10 is evaluated but the continue to clause 20 is not happening,
> > evident by the show ip bgp command on R5 where the metric isn't showing
> up
> > for the second 2 routes. It is showing up on the first two routes so I
> know
> > setting the metric is applicable here.
> >
> > R5#show ip bgp | begin Net
> > Network Next Hop Metric LocPrf Weight Path
> > *> 6.0.0.0/24 172.14.45.6 200 0 65000 i
> > *> 6.0.1.0/24 172.14.45.6 200 0 65000 i
> > *> 6.0.2.0/24 172.14.45.6 0 0 65000 65200
> i
> > *> 6.0.3.0/24 172.14.45.6 0 0 65000 65200
> i
> >
> > strange, huh?
> >
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Mon Aug 04 2008 - 06:11:54 ART