[j-nsp] asn32: as-path formatting ?

Richard A Steenbergen ras at e-gerbil.net
Fri May 16 15:32:42 EDT 2008


On Fri, May 16, 2008 at 06:43:07PM +0400, Alexandre Snarskii wrote:
> 
> Hi!
> 
> Since JunOS 9.1, Juniper supports 32-bit AS Numbers (RFC 4893), and release 
> notes states that: 
> <cite>
> Support for 4-byte AS numbers is also extended to the AS extended-community 
> attribute and AS-path regular expressions 
> </cite>
> but documentation on defining AS Path regular expressions does not provide 
> any examples using 32-byte asn's. 
> 
> So, I'm just curious, how should they be formatted ? 
> 
> For example, If I want to filter paths originated by Gert Doering's AS3.3,
> should I set up filter as 'as-path as33 "3.3$", or it will be interpreted
> by old rules as '<anything> 3 <any as> 3' and I need to use some other 
> syntax ? 
> 
> PS: and, Gert, thanks for providing AS3.3, AS-SPACENET and route-object
> with origin: AS3.3 for real-life testing :) 

As numbers greater than 65535, like they freaking should be.

:'s don't belong in IP addresses
.'s don't belong in ASNs

Thank you Juniper.

-- 
Richard A Steenbergen <ras at e-gerbil.net>       http://www.e-gerbil.net/ras
GPG Key ID: 0xF8B12CBC (7535 7F59 8204 ED1F CC1C 53AF 4C41 5ECA F8B1 2CBC)


More information about the juniper-nsp mailing list