From: Bill Dellamar (wdellamar@xxxxxxxxx)
Date: Fri Jun 09 2000 - 15:20:29 GMT-3
I need to verify that. I guess I read it as
* match any character
0 match any occurance of that character.
Therefore 1, 11, 111, 333, 555 would match
however,
12, 123, 112 would not match.
I need to fire up the ole routers and verify this.
Thanks.
--- "Mark H. Degner" <mark@degner.org> wrote:
> If I'm not mistaken, it should match ANY as-path of
> ANY length. So you
> aren't really filtering anything. You could also
> configure this same
> behavior by leaving out the 'match as-path 10' line
> in the route-map, or by
> configuring a default local-preference for the
> routing process.
>
> Here's the link to Cisco's documentation on
> regular-expressions..
>
>
http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/dial
> _r/drdapp/drdrapre.htm#xtocid97847
>
> Hope this helps..
>
> Mark Degner
>
> ----- Original Message -----
> From: "Bill Dellamar" <wdellamar@yahoo.com>
> To: <ccielab@groupstudy.com>
> Sent: Friday, June 09, 2000 12:40 PM
> Subject: bgp question
>
>
> > Could someone provide some examples of what would
> > and/or would not match this access-expression:
> >
> >
> > ip as-path access-list 10 permit ^.*$
> >
> >
> > ^ is the start of the string
> > . matches any wildcard
> > * is 0 to any occurance of the object
> > $ is end of string.
> >
> > How does it relate to this statement:
> >
> > route-map INfromAnotherAS permit 10
> > match as-path 10
> > set local-preference 120
> >
> > What AS's or routes would match as-path 10 and get
> > their local preference set to 120.
> >
> > Thanks,
> >
> >
> >
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:23:41 GMT-3