regular expression in bgp configuration

hi there. what string does the regular expression ^(200_)+$ accept? i think it accepts one of more (200_)s, for example "200_", "200_200_", "200_200_200_", and, "200_200_...

200_200_". am i right? if i have wrong idea, please tell me right answer. :)
Reply to
Loading thread data ...

It allows that ASN to be prepended multiple times.


Reply to

The "^" demands that as 200 is a direct neighbor AS, or first AS in the string, and the "$" demands this is the last AS in the string. So, AS 200 can be prepended, but it must be the only AS number found in the path; there can be no others. IE - the expression will not match on: ^1239 1783

200 200 200 1812$


Reply to
John Agosta Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.