Re: getting creative with command output

From: <Charles.Henson_at_regions.com>
Date: Thu, 7 May 2009 13:20:20 -0500

Ahhhh.... no space in the second pipe.... THANK YOU!

Charles

                                                                                                                                 
  From: Ryan DeBerry <rdeberry_at_gmail.com>
                                                                                                                                 
  To: Charles.Henson_at_regions.com
                                                                                                                                 
  Cc: ccielab_at_groupstudy.com
                                                                                                                                 
  Date: 05/07/2009 01:13 PM
                                                                                                                                 
  Subject: Re: getting creative with command output
                                                                                                                                 

show inter | in proto|error

On Thu, May 7, 2009 at 1:52 PM, <Charles.Henson_at_regions.com> wrote:
  All, I've been trying to play around with command outputs to get more
  efficient.

  sho ip in bri | ex un - for example

  1. Can I ask for more than one row from an output? "show me all my
  interfaces AND show me the errors."

  So I would like to combine: "show interf | in proto" which give me an
  interface name and "show interf | in error" which shows counters so that
  I
  get back a line with my interface and a line below with the errors.

  Is this possible? I check this years archives. Do I need to dig deeper?
  Any
  links or documentation would be appreciated.

  Charles

  Blogs and organic groups at http://www.ccie.net

  _______________________________________________________________________
  Subscription information may be found at:
  http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Thu May 07 2009 - 13:20:20 ART

This archive was generated by hypermail 2.2.0 : Mon Jun 01 2009 - 07:04:42 ART