Re: [j-nsp] AS-path regexp clue needed

2010-07-29 Thread Paul Goyette
uniper-nsp-boun...@puck.nether.net [mailto:juniper-nsp- > boun...@puck.nether.net] On Behalf Of KJ > Sent: Thursday, July 29, 2010 5:46 AM > To: Daniel Verlouw > Cc: Juniper-Nsp > Subject: Re: [j-nsp] AS-path regexp clue needed > > Take a look here: > > http://www.ju

Re: [j-nsp] AS-path regexp clue needed

2010-07-29 Thread Daniel Verlouw
On Thu, 2010-07-29 at 14:45 +0200, KJ wrote: > http://www.juniper.net/techpubs/software/junos/junos74/swconfig74-policy/html/policy-extend-match-config3.html I'm familiar with the manual, thank you. I'm not sure what operator you're specifically aiming at, but stuff like "[1-65535]*" doesn't wor

Re: [j-nsp] AS-path regexp clue needed

2010-07-29 Thread KJ
Take a look here: http://www.juniper.net/techpubs/software/junos/junos74/swconfig74-policy/html/policy-extend-match-config3.html On 29 July 2010 14:18, Daniel Verlouw wrote: > Hi, >

[j-nsp] AS-path regexp clue needed

2010-07-29 Thread Daniel Verlouw
Hi, can someone give me some clue on how to translate the following Cisco regexp to Junos ? ip as-path access-list 1 permit ^([0-9]+)(_\1)*$ (this uses pattern recall to match AS paths whose first AS number in the path is repeated zero or more times; basically to make sure certain customers pre