RE: ? | include

From: Luca Hall (lhall@setnine.com)
Date: Wed Apr 02 2008 - 19:39:03 ART


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.
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Thu May 01 2008 - 08:25:49 ART