nanog mailing list archives

Re: Regular Expressions ......


From: John Fraizer <nanog () EnterZone Net>
Date: Fri, 26 May 2000 11:30:53 -0400 (EDT)



On Fri, 26 May 2000, Ally Gudgeon wrote:


(ALSO: If I do a sh ip bgp reg ^[0-9]*_[0-9]*$ it lists both 1-deep and
2-deep AS's....surely it should just list 2-deep?)

Any help would be greatly appreciated!......

Thanks in advance..


Ally


If sh ip bgp regexp "your regexp" doesn't do what you expect it to do, it
is certainly not going to work in an as-path access-list.  I am not the
regexp master so, I can only tell you to tinker at the command line with
your regexp and when the output meets what you want, THAT's the regexp you
should then use in your access-list.

John




Current thread: