From: Antonio Soares (amsoares@netcabo.pt)
Date: Wed Aug 08 2007 - 08:24:30 ART
You have available the "show parser" command. Here's an example to get all
(config-router) commands that include the word "eigrp":
++++++++++++++++++++++++++++
Router#sh parser dump router | inc eigrp
0 no distance eigrp 
0 no eigrp router-id 
0 no eigrp stub 
0 no eigrp log-neighbor-changes 
0 no eigrp log-neighbor-warnings <1-65535> 
0 no eigrp log-neighbor-warnings 
0 no eigrp event-logging 
0 no eigrp event-log-size 
0 default distance eigrp 
0 default eigrp router-id 
0 default eigrp stub 
0 default eigrp log-neighbor-changes 
0 default eigrp log-neighbor-warnings <1-65535> 
0 default eigrp log-neighbor-warnings 
0 default eigrp event-logging 
0 default eigrp event-log-size 
15 distance eigrp 
15 eigrp router-id 
15 eigrp stub 
15 eigrp log-neighbor-changes 
15 eigrp log-neighbor-warnings <1-65535> 
15 eigrp log-neighbor-warnings 
15 eigrp event-logging 
(...) 
++++++++++++++++++++++++++++
And you have several options to store the outputs:
++++++++++++++++++++++++++++
Router#sh parser dump router ?               
  archive:         storage file name 
  breakage         Enables Chain breakage detection
  extend           Extended mode of display
  flash:           storage file name 
  ftp:             storage file name 
  http:            storage file name 
  https:           storage file name 
  null:            storage file name 
  nvram:           storage file name 
  pram:            storage file name 
  privilege-level  Privilege level display
  rcp:             storage file name 
  scp:             storage file name 
  slot0:           storage file name 
  syslog:          storage file name 
  system:          storage file name 
  tftp:            storage file name 
  xmodem:          storage file name 
  ymodem:          storage file name 
  |                Output modifiers
  <cr>
Router#
++++++++++++++++++++++++++++
Regards,
Antonio Soares
CCIE #18473, CCNP, CCIP
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of CCIE
19999
Sent: quarta-feira, 8 de Agosto de 2007 2:06
To: 'Cisco certification'
Subject: Selective display of help
Guys,
 
I am looking for a way to get this weird option in IOS so that I can display
only the command match a regular expression. Mind you, it is the command
itself not the output of the command. For example, when I press '?' the help
displays with all available commands in the context. Actually, I want to
look for a command in a particular context, but do not want to scroll
through all the commands. 
 
Different BGP/EIGRP option commands are in different contexts, and when I am
not sure of, I can just want to display that command. 
 
I don't think I am the first person who is thinking about this requirement.
(I am  a bit lazy to scroll though all the contexts)
 
Been researching for a while in the internet and cisco.com and could not
find anything useful.  
 
Let me know what you guys think about.
 
Regards,
Shine
This archive was generated by hypermail 2.1.4 : Sat Sep 01 2007 - 11:32:10 ART