[j-nsp] AS path access list (regexp)

Jeff Tantsura jeff.tantsura at sscplus.nl
Fri Apr 20 10:21:48 EDT 2007


Hi,

It would look like:
ABCD+ .{0,2}

Regards,
Jeff

> -----Original Message-----
> From: juniper-nsp-bounces at puck.nether.net [mailto:juniper-nsp-
> bounces at puck.nether.net] On Behalf Of Kanagaraj Krishna
> Sent: vrijdag 20 april 2007 12:54
> To: juniper-nsp at puck.nether.net
> Subject: Re: [j-nsp] AS path access list (regexp)
> 
> Hi,
>      I have this AS path access list to one of my BGP peerings (inbound
> route map) which is based on Cisco to set different local pref to:
> 
> - direct peering AS
> - direct peering AS + 1st AS hop
> - direct peering AS + 1st AS hop + 2nd AS hop
> 
> Based on Cisco
> -----------------------
>   ip as-path access-list 77 permit ^(ABCD_)+$
>   ip as-path access-list 77 permit ^(ABCD_)+[0-9]+$
>   ip as-path access-list 77 permit ^(ABCD_)+[0-9]+_[0-9]+$
> 
> 
> How do i mirror the same requirement on a Juniper? Thanks.
> 
> Regards,
> Kana
> _______________________________________________
> 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