Cisco Tips & Tricks

April 3, 2008

Grep for Cisco commands

Filed under: cisco — ciscotips @ 6:52 am

To view a IOS line parser

Show parser dump

Its an excellent command to see the selected functionality of the command. we can use it just like a Grep in Unix.

 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

or more extensively

Willow#show parser dump interface extend  | in queue.*(Enable|Configure)
tx-queue-limit : Configure card level transmit queue limit
srr-queue : Configure shaped round-robin transmit queues
srr-queue : Configure shaped round-robin transmit queues
srr-queue : Configure shaped round-robin transmit queues
fair-queue : Enable Fair Queuing on an Interface
fair-queue : Enable Fair Queuing on an Interface
fair-queue : Enable Fair Queuing on an Interface
fair-queue : Enable Fair Queuing on an Interface
fair-queue : Enable Fair Queuing on an Interface
tx-queue-limit : Configure card level transmit queue limit
srr-queue : Configure shaped round-robin transmit queues
srr-queue : Configure shaped round-robin transmit queues
srr-queue : Configure shaped round-robin transmit queues
fair-queue : Enable Fair Queuing on an Interface
fair-queue : Enable Fair Queuing on an Interface
fair-queue : Enable Fair Queuing on an Interface
fair-queue : Enable Fair Queuing on an Interface
fair-queue : Enable Fair Queuing on an Interface 

it can be pretty handy, if used intelligently. 

Advertisements

4 Comments »

  1. Your blog is interesting!

    Keep up the good work!

    Comment by Meki Chan — August 27, 2008 @ 5:01 am

  2. […] for Cisco commands This article was found on Cisco Tips & Tricks. Click here to visit the full article on the original website.To view a IOS line […]

    Pingback by Grep for Cisco commands | linkfeedr — April 12, 2009 @ 7:41 pm

  3. thanks for such nice Post
    Regards
    Anuj

    http://www.winservers.co.in

    Comment by anuj — August 11, 2010 @ 2:18 pm

  4. Glad I found this thank mate 🙂

    Comment by rahul — October 17, 2010 @ 8:13 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: