Hi,

Actually, you can use a single as-path accesslist statement to do the same 
thing. (AS1 with it's immediate surrounding ASes only).

ip as-path access-list 1 permit ^1_[0-9]*$


At 07:27 PM 12/6/00 +0900, Jaeheon Yoo wrote:
>Hi,
>
>In my humble opinion, how about this one?
>
>Let me suppose your provider's AS number is 1:
>
>ip as-path access-list 4 permit ^1 [0-9]+$
>ip as-path access-list 4 permit ^1$
>
>You can also check threads "Help about BGP regular expression".
>and "Internet Routing Architecture" pp. 370~378
>
>
>On 6 Dec 2000 02:07:52 -0500, [EMAIL PROTECTED] (John Neiberger) wrote:
>
> >I'm in a multihoming situation where, so far, one provider is telling me
> >they can only send the full routing table without some special arrangements.
> >This sounds like a load of bullhockey, but that's what they're saying.  So,
> >here's the question...
> >
> >I only want to receive from both ISPs their routes and their customer
> >routes.  Then, I'll have a default route to the better ISP with a backup
> >default to the second ISP.
> >
> >Is there a way to filter out the routes I don't want using regular
> >expressions?  I couldn't figure out how to accept an ISP's routes plus their
> >customer routes while not accepting everything else.  One ISP tags those
> >routes allowing me to filter by community attribute, but the other is
> >playing dumb.  (The dumb one is Sprint, and it seems they are being a pain
> >just because they can.)
> >
> >It's late, my brain is toast, and I'm tired of thinking about it. Regular
> >expressions give me a headeache, anyway.  Any ideas on how to do this?
> >
> >Many thanks as always,
> >John
> >
> >
> >
> >
> >
> >_______________________________________________________
> >Tired of slow Internet? Get @Home Broadband Internet
> >http://www.home.com/xinbox/signup.html
> >
> >_________________________________
> >FAQ, list archives, and subscription info: 
> http://www.groupstudy.com/list/cisco.html
> >Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
>
>_________________________________
>FAQ, list archives, and subscription info: 
>http://www.groupstudy.com/list/cisco.html
>Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to