symbol _ to as-path expression alcatel 7750

Post Reply
Agus Mulya Permana
Member
Posts: 4
Joined: 24 Oct 2017 01:56

symbol _ to as-path expression alcatel 7750

Post by Agus Mulya Permana » 26 Jul 2019 02:04

dear all,
we are currently converting cisco to alcatel config,
we have problems with regular expression
 if in cisco ^ 77500_ [0-9] * $
what if on Alcatel ?

mivens
Member
Posts: 256
Joined: 28 Sep 2012 06:34

Re: symbol _ to as-path expression alcatel 7750

Post by mivens » 26 Jul 2019 11:29

There are some extra spaces in your example but assuming you want to match an as-path where the first AS must be 77500 and then zero or 1 ASNs after that:

as-path "FOO" expression "77500 .{0,1}"

The regular expression syntax is documented here:
https://infocenter.nokia.com/public/775 ... hor=d2e325

You can use the command "show router bgp policy-test" to test it.

Post Reply

Return to “7750 SR”