Re: [OSL | CCIE_RS] how to accomplish this.

From: Dale Shaw <dale.shaw_at_gmail.com>
Date: Sun, 14 Mar 2010 09:40:39 +1100

On Sun, Mar 14, 2010 at 9:36 AM, Marko Milivojevic <markom_at_ipexpert.com> wrote:
> On Sat, Mar 13, 2010 at 22:30, Dale Shaw <dale.shaw_at_gmail.com> wrote:
>> sh run | s ip pim.*mode
>>
> It won't show interface names neither :-)

Ja. It would be nice if "| section" displayed the whole section/stanza
that the match was found in rather than just from that point and
deeper. Or if IOS allowed piping the output multiple times.

I think the best compromise is:

sh run | i ^interface|ip pim.*mode

cheers,
Dale

Blogs and organic groups at http://www.ccie.net
Received on Sun Mar 14 2010 - 09:40:39 ART

This archive was generated by hypermail 2.2.0 : Thu Apr 01 2010 - 07:26:35 ART