From: Phillip Day (Phillip.Day@ipitomi.com)
Date: Thu Apr 03 2008 - 05:13:13 ART
Worth remembering though that depending on the string being parsed, this
can be quite processor intensive and so not necessarily a good idea on a
live box.
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Luca Hall
Sent: 02 April 2008 23:39
To: ccielab@groupstudy.com
Subject: RE: ? | include
Thanks, I always wondered how to do things like
show all the commands on the interface that include the string
`queue` and `Enable` or `Configure` in the description.
sh parser dump interface extend | in queue.*(Enable|Configure)
> You have the "show parser" command available. For example:
>
> R1#sh parser dump interface | include queue
> 15 tx-queue-limit Number
> 15 dialer hold-queue <0-100> timeout <1-2147483>
> 15 dialer hold-queue <0-100>
> 15 dialer hold-queue
> 15 funi rate-queue Number Number
> 15 funi rate-queue tolerance svc pvc 0 strict
> 15 funi rate-queue tolerance svc pvc 0
> 15 funi rate-queue tolerance svc pvc <5-99> strict
> 15 funi rate-queue tolerance svc pvc <5-99>
> 15 funi rate-queue tolerance svc 0 strict
> 15 funi rate-queue tolerance svc 0
> 15 funi rate-queue tolerance svc <5-99> strict
> 15 funi rate-queue tolerance svc <5-99>
> 15 funi rate-queue Number Number
> 15 funi rate-queue tolerance svc pvc 0 strict
> 15 funi rate-queue tolerance svc pvc 0
> 15 funi rate-queue tolerance svc pvc <5-99> strict
> 15 funi rate-queue tolerance svc pvc <5-99>
> 15 funi rate-queue tolerance svc 0 strict
> 15 funi rate-queue tolerance svc 0
> 15 funi rate-queue tolerance svc <5-99> strict
> 15 funi rate-queue tolerance svc <5-99>
> 15 funi rate-queue Number Number
> --More--
>
>
> Regards,
>
> Antonio Soares
> CCIE #18473 (R&S),CCNP,CCIP
> JNCIA-ER,JNCIS-ER
> http://pwp.netcabo.pt/amsoares/
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
Of
> Luca
> Hall
> Sent: quarta-feira, 2 de Abril de 2008 22:52
> To: ccielab@groupstudy.com
> Subject: ? | include
>
> Does anyone know some way to (or a definitive its impossible) way to
use
> `include` when ios give you the output of the '?'?
>
> Eg. I would like to do:
>
> r1(config-if)# ? | include queue
>
> To grep all commands with descriptions with the string `queue`
somewhere
> in
> them.
>
>
This archive was generated by hypermail 2.1.4 : Thu May 01 2008 - 08:25:49 ART