RE: RE: regexp & confederation again (Ipexpert Lab9, item 11)

From: Jacques Eding (jeding@kabelfoon.nl)
Date: Mon Feb 10 2003 - 19:11:28 GMT-3


LS.

Remember where the filters are applied.

On the local bgp table. Now in a bgp table of a confederation member, the AS
path will have the confederation AS as its AS path, not the confederation
identifier (or remote AS), this is added when a route is distributed to the
EBGP neighbour.
So the AS-path filter ^$ or locally originated will not work, there are no
empty AS paths in the BGP table.

Jacques Eding

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Nguyen Hoang Long
Sent: maandag 10 februari 2003 20:20
To: Cassidy D. Smith; ccielab@groupstudy.com
Cc: Dave Swink
Subject: Re: RE: regexp & confederation again (Ipexpert Lab9, item 11)

Thanks Cassidy,

command: ip as-path access-list 1 permit ^\(65078\)$ makes it work

command: ip as-path access-list 1 permit ^$ still does not work in my Lab,
some Bugs !? I'll check it sometime later in other IOS.

Does anyone have the same problem like this ?

Rgds,
Long

----- Original Message -----
From: "Cassidy D. Smith" <csmith@plannetconsulting.com>
To: <ng-hlong@hn.vnn.vn>; <ccielab@groupstudy.com>
Sent: Monday, February 10, 2003 2:26 PM
Subject: RE: RE: regexp & confederation again (Ipexpert Lab9, item 11)

> If you were trying to match on (65078) you would need to "escape" your
> parentheses "(" and ")" . They have special RegExp meaning, to escape
those
> so that they can be matched on as simple ascii characters, you need to use
> the backslash "\".
>
> So to rewrite the below:
>
> ip as-path access-list 1 permit ^\(65078\)$
>
> I saw your earlier post and ^$ means no AS_PATH or empty. It looked like
it
> was only allowing the "empty" match. Perhaps your confederation was not
> configured the way they wanted you to, or you are filtering at the wrong
> place?
>
> Cassidy
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
> ng-hlong@hn.vnn.vn
> Sent: Monday, February 10, 2003 10:55 AM
> To: ccielab@groupstudy.com
> Subject: Re: RE: regexp & confederation again (Ipexpert Lab9, item 11)
>
>
> Hi Dave,
>
> Yes,I have.
>
> R2,R5,R6,R7,R8 is in confederation 200 as stated in the LAB9.
>
> ip as-path access-list 1 permit ^(65078)$ does not help solve problem.
>
> Thanks for your input,
>
> Nguyen Hoang Long
>
>
>
> -------------------------------------------------------------------------
> Get your private, free Email by Vietnamese at http://vol.vnn.vn/
.
.



This archive was generated by hypermail 2.1.4 : Sat Mar 01 2003 - 11:06:18 GMT-3