Routing

last person joined: 4 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  regular expression for as-path

    Posted 01-17-2017 10:02

    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

     



  • 2.  RE: regular expression for as-path

    Posted 01-17-2017 11:23

    Hello,

     


    @Tedy wrote:

    Hello,

     

    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

    Thx
    Alex



  • 3.  RE: regular expression for as-path

     
    Posted 01-17-2017 23:26


  • 4.  RE: regular expression for as-path

    Posted 01-18-2017 03:13

    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.

    HTH

    Thx

    Alex