From: Tim O'Brien (tobrien@xxxxxxxxxxxx)
Date: Thu Mar 28 2002 - 21:29:47 GMT-3
I found this one on the Cisco site. What do you think?
ip as-path access-list 4 permit ^200_[0-9]*$
http://www.cisco.com/warp/public/459/41.shtml#2
Tim
9015
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Bob Sinclair
Sent: Thursday, March 28, 2002 6:37 PM
To: Hongtu Wang
Cc: ccielab@groupstudy.com
Subject: Re: AS-path access-list
Hongtu,
I believe you will find that the following expression will work with the
fewest number of statements to define "routes from AS 200 and its
neighbors":
ip as-path access-list 4 permit ^200 ?[0-9]*$
It is discussed in detail in Halabi's book "Internet Routing Architectures",
on page 376. The meaning of regular expression characters is explained on
page 187.
-Bob
----- Original Message -----
From: "Hongtu Wang" <hwang1073@rogers.com>
To: <ccielab@groupstudy.com>
Sent: Monday, March 25, 2002 10:29 PM
Subject: AS-path access-list
> Hi,
>
> My topology is:
>
> R1(AS100)----R2(AS200)----AS50---AS250
>
> If I only want to accept routes come from AS200 and all AS directly
connect to AS200 (AS50 in my topology), how to write as-path access-list on
R1?
>
> Thanks
>
> Hongtu Wang
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:57:24 GMT-3