-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Jesper,
You don't require the $ at the end and you've omitted the required
element to allow anything before the 4134...
set policy-options as-path foo ".* 4134"
...would be sufficient. That sets the AS_PATH to be any PATH with
4134 as the origin. If he'd asked for...
ip as-path access-list 8 permit ^4134$
that would be..
set policy-options as-path foo 4134
which sets the AS_PATH to be exactly one instance of 4134.
However, you're entirely correct in directing Raymond to RTFM! This
stuff is very well documented and the documentation is all available
on the public website. It would take around 5 minutes of browsing to
find this info.
Regards,
Guy
> -----Original Message-----
> From: Jesper Skriver [mailto:jesper@skriver.dk]
> Sent: Thursday, July 25, 2002 3:43 PM
> To: Raymond Leung
> Cc: juniper-nsp@puck.nether.net
> Subject: Re: [j-nsp] BGP AS-path Regular Expressions
>
>
> On Thu, Jul 25, 2002 at 10:34:31PM +0800, Raymond Leung wrote:
> > if i just wanna add a router like this in juniper , what
> should i do ?
>
> Start by reading the documentation
>
> > ip as-path access-list 8 permit _4134$
>
> set policy-options as-path foo "4134$"
>
> --
> Jesper Skriver, jesper(at)skriver(dot)dk - CCIE #5456
> Work: Network manager @ AS3292 (Tele Danmark DataNetworks)
> Private: FreeBSD committer @ AS2109 (A much smaller network ;-)
>
> One Unix to rule them all, One Resolver to find them,
> One IP to bring them all and in the zone to bind them.
>
-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.1
iQA/AwUBPUAdso3dwu/Ss2PCEQJO7ACdHXwzj5FkDI+zvPyvBr3MLAn0dTcAn1vu
9b/LgrDGserxjXjVeNfsI4xo
=hVf9
-----END PGP SIGNATURE-----
This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:36 EDT