[j-nsp] AS-path

Nalkhande Tarique Abbas ntarique at juniper.net
Thu Aug 13 02:57:31 EDT 2009


AFAIK, NOT (!) operator isn't currently supported in AS-PATH Regex.

Moreso based on your requirement you should only block routes
originating form AS100, I don't understand the need for regex to accept
routes transiting AS100 (unless you explicity block it elsewhere)?

The below should suffice your requirement,

set policy-options as-path No100orig ".* 100"
 


Thanks & Regards,
Tarique A. Nalkhande


-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Judah Scott
Sent: Thursday, August 13, 2009 1:26 AM
To: Fahad Khan
Cc: juniper-nsp at puck.nether.net
Subject: Re: [j-nsp] AS-path

Without testing It seems like:

set as-path 100not1000orig ".* 100 .* (!1000)$"

should work.

Thanks,
J Scott



On Wed, Aug 12, 2009 at 11:24 AM, Fahad Khan <fahad.khan at gmail.com>
wrote:

> Dear Folks,
>
> what should be the As-path reg expression for getting the routes
transiting
> AS 100 and not originating from  AS 100????
>  regards
>
> --
> Muhammad Fahad Khan
> IT Specialist
> Global Technology Services, IBM
> fahad at pk.ibm.com
> +92-321-2370510
> +92-301-8247638
> http://www.linkedin.com/in/muhammadfahadkhan
> http://fahad-internetworker.blogspot.com
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


More information about the juniper-nsp mailing list