Re: AS-path access-list

From: Bob Sinclair (bsin@xxxxxxxxx)
Date: Thu Mar 28 2002 - 20:36:38 GMT-3


   
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 1
87.

-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 t
o 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