[nsp] Reg Exp help please

Stephen J. Wilcox steve at telecomplete.co.uk
Thu Nov 20 17:54:38 EST 2003

On Tue, 18 Nov 2003, Jim Devane wrote:

> Is there a way to get a line count of output in IOS.
> Meaning, I would love to be able to run sh ip bgp regexp ^70. wc -l
> And find out how many UUnet routes I have... is there an easy way to do
> this? 
> (Easier than setting up Zebra and capturing the tables and using Linux etc.)

If you can issue remote commands eg rsh just rsh the cmd on your linux box to
your router and pipe to whatever....


More information about the cisco-nsp mailing list