Show command output modifiers

From: ccie2be (ccie2be@nyc.rr.com)
Date: Thu May 01 2003 - 23:23:53 GMT-3


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