On Thu, 24 May 2012 08:19:40 -0600, you wrote:

> Someone asked me how to do something very simple and I'm finding it
> very difficult! He wants to do a "show interface" command and show
> only lines with "up" or "rate" in it.

Put your regex in quotes:

  sh int | i "up|rate"

-A

_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to