North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Re: Regular Expressions ......

  • From: John Fraizer
  • Date: Fri May 26 11:35:27 2000

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