Re: Regular expression

From: Nick Shah (nshah@connect.com.au)
Date: Mon Sep 02 2002 - 00:23:20 GMT-3


Is this what you are after ?

ip as-path access-list 1 permit _200$ --- > permits prefixes origiated in
AS200

ip as-path access-list 2 deny _200$ ----- > denies prefixes originated in
AS200
ip as-path access-list 2 permit .* --- > permit everything else

Nick
----- Original Message -----
From: "Kohli, Harbir" <harbir.kohli@bellnexxia.com>
To: "Ccielab (E-mail)" <ccielab@groupstudy.com>
Sent: Monday, September 02, 2002 12:56 PM
Subject: Regular expression

> Hi,
>
>
> I have the following topology:
>
> As100 - As200 - AS300
> Path A to - AS400
> Path B to AS400
>
> I want to have all routes that originate in AS 200 to come in via Path A
and
>
> If they do not originate in AS 200 to come in via Path B.
>
> The following gives me all routes that originate in AS 200
> Ip as-path access-list 1 _200$
>
> But what regular expression would give me all routes that did not
originate
> in AS 200? ( I do not want to include its clients like AS 100)
>
>
> Thanks
> _________________________________________________________________
> Commercial lab list: http://www.groupstudy.com/list/commercial.html
> Please discuss commercial lab solutions on this list.



This archive was generated by hypermail 2.1.4 : Mon Oct 07 2002 - 07:43:41 GMT-3