Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
Hello,
I try to set as-path filter to match every as-path which last as number ending with number 3, for example:
1 2 3
1 2 23
3 33
4 5 6 12333
i try this:
".* .*3"
".*3"
".{0,} .*3"
but with no success, what am i doing wrong ?
thanks for help
@Tedy wrote: Hello, I try to set as-path filter to match every as-path which last as number ending with number 3
I try to set as-path filter to match every as-path which last as number ending with number 3
Not possible/not supported in JUNOS.
The entire AS number composes one term. You cannot reference individual characters within an AS number,
https://www.juniper.net/techpubs/en_US/junos/topics/usage-guidelines/policy-configuring-as-path-regular-expressions-to-use-as-routing-policy-match-conditions.html
HTH
ThxAlex
Hi Folks,
I could find some pointers on this,
http://www.juniper.net/techpubs/software/erx/junose61/swconfig-routing-vol1/html/routing-policy-config11.html
Hello there,
@python wrote: Hi Folks, I could find some pointers on this, http://www.juniper.net/techpubs/software/erx/junose61/swconfig-routing-vol1/html/routing-policy-config11.html
This is for JUNOSe software that runs on E-series kit. Not applicable for JUNOS.
Thx
Alex