From: Charles Church (cchurch@wamnet.com)
Date: Fri May 02 2003 - 09:26:58 GMT-3
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:35 GMT-3