regex - JunOS Regular Expressions for AS Path -
i want write regex in juniper mx960 router bgp including 3 paths first element constant, second , third wildcard. found can put numbers manually this:
9121+ (one|two|three|...) (one|two|three|...)
this doesn't work me 'cause don't know whole numbers in second , third level. can anything. want them "any".
9121+ any+ any+ « need this.
the exact answer may depend on version of junos using.
however, syntax should work:
show route aspath-regex 9121 (.*){2} this means, match as9121 first element, , number 2 times.
here there lot of examples:
Comments
Post a Comment