From: Charles Church (cchurch@wamnet.com)
Date: Fri May 02 2003 - 19:55:02 GMT-3
I don't think you can limit the display like that. But you do know you can
use 'sh run int xxxx' to see the config for a whole interface, right?
Chuck Church
CCIE #8776, MCNE, MCSE
Wam!Net Government Services
13665 Dulles Technology Dr. Ste 250
Herndon, VA 20171
Office: 703-480-2569
Cell: 585-233-2706
cchurch@wamnet.com
-----Original Message-----
From: ccie2be [mailto:ccie2be@nyc.rr.com]
Sent: Friday, May 02, 2003 4:43 PM
To: Group Study; Charles Church
Subject: Re: Show command output modifiers
OK, so there was a little misunderstanding about what I was looking to do.
No, problem. But, is there a way to generate 10 consecutive lines of
output starting at a certain specified point in the config file?
Can you imagine how helpful something like that would be?
For example, suppose you wanted to double check the ip addr assigned to an
interface against the network specified under the routing process - the
cause of hours of frustration on my part due to transposing 2 digits,
wouldn't it be great if you could do a sh int x ( generate just 3 or 4 lines
of output) and then do a show run | b router ( again generating only 8 or 10
lines of output) so that one could see side by side the addresses and masks
typed in?
Thanks, Jim
----- Original Message -----
From: "Charles Church" <cchurch@wamnet.com>
To: "ccie2be" <ccie2be@nyc.rr.com>
Sent: Friday, May 02, 2003 12:38 PM
Subject: RE: Show command output modifiers
> When you mentioned 'all lines starting with router ospf', I though you
meant
> each individual line that literally started with 'router ospf'. So what I
> wrote would show you all the ospf process lines in your config. But no,
it
> won't show anything else. But it is handy to show your network
statements,
> passive interfaces, etc. Sorry I was misleading.
>
> Chuck Church
> CCIE #8776, MCNE, MCSE
> Wam!Net Government Services
> 13665 Dulles Technology Dr. Ste 250
> Herndon, VA 20171
> Office: 703-480-2569
> Cell: 585-233-2706
> cchurch@wamnet.com
>
> -----Original Message-----
> From: ccie2be [mailto:ccie2be@nyc.rr.com]
> Sent: Friday, May 02, 2003 12:27 PM
> To: Charles Church
> Subject: Re: Show command output modifiers
>
>
> Hi Chuck,
>
> Thanks for your response.
>
> I think, however, I must be missing something because I don't see how to
use
> that for this situation, eg. seeing the config file starting at say,
router
> ospf x and showing the next 8 lines. Jim
> ----- Original Message -----
> From: "Charles Church" <cchurch@wamnet.com>
> To: "ccie2be" <ccie2be@nyc.rr.com>; "Group Study" <ccielab@groupstudy.com>
> Sent: Friday, May 02, 2003 8:26 AM
> Subject: RE: Show command output modifiers
>
>
> > sh run | include xxxxxx will show only lines that contain xxxxxx .
> >
> > Chuck Church
> > CCIE #8776, MCNE, MCSE
> > Wam!Net Government Services
> > 13665 Dulles Technology Dr. Ste 250
> > Herndon, VA 20171
> > Office: 703-480-2569
> > Cell: 585-233-2706
> > cchurch@wamnet.com
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
> > ccie2be
> > Sent: Thursday, May 01, 2003 10:24 PM
> > To: Group Study
> > Subject: Show command output modifiers
> >
> >
> > Hi all,
> >
> > Is there a way to limit the output of a show command to a certain number
> of
> > lines starting at a certain point in the config file?
> >
> > For example, let's say I want to see the config file starting from
"router
> > ospf" plus the next 10 lines. I know that "show run | begin router
ospf"
> > will
> > output the config file starting at router ospf but how do I limit the
> output
> > to just the lines beginning with router ospf?
> >
> > Thanks, Jim
This archive was generated by hypermail 2.1.4 : Mon Jun 02 2003 - 15:13:36 GMT-3