[c-nsp] as-path access-list question

Paul Stewart pstewart at nexicomgroup.net
Tue Sep 26 09:21:42 EDT 2006


Thanks Tom... that'll help..:)  Will try it .. appreciate it. 

-----Original Message-----
From: Tom Sands [mailto:tsands at rackspace.com] 
Sent: Tuesday, September 26, 2006 9:19 AM
To: Paul Stewart
Cc: cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] as-path access-list question

First using an * like this also matches ^6539$  when doing ^6539_[0-9]*$
I would recommend the + for trying to make the adjustments you are
looking for.

If you wanted to try something in between maybe do:
^6539$
^6539_[0-5]+$

Basically, matching the prefixes that are connected, and "SOME" ASN's
that transit 6539 (only if they have values between 0-5)


just a thought..


Paul Stewart wrote:

> Pardon my ignorance but I can't seem to find an answer on this...
> 
> I've been playing around with our BGP reach to an upstream provider
and
> I'm trying to find something *between* 
> 
> ip as-path access-list 20 permit ^6539$
> 
> and
> 
> ip as-path access-list 20 permit ^6539_[0-9]*$
> 
> Is there a syntax that is "in between" these two?  Any references on
> Cisco for this?
> 
> Thanks in advance,
> 
> Paul
> 
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
> 

-- 
------------------------------------------------------
Tom Sands			  				
Chief Network Engineer				
Rackspace Managed Hosting	    	
(210)447-4065		   	
------------------------------------------------------



More information about the cisco-nsp mailing list