CCIE Pursuit Blog

December 10, 2007

Quick QoS Tip

If you use the same name for all of your (MQC) QoS elements (class-map, policy-map, service-policy, etc), then you can easily see all of these elements with the section filter:

r3(config-cmap)#do sh run | sec FROM_FTP
class-map match-all FROM_FTP_SERVER
 match access-group name FROM_FTP_SERVER
policy-map FROM_FTP_SERVER
 class FROM_FTP_SERVER
  bandwidth 256
 service-policy output FROM_FTP_SERVER
ip access-list extended FROM_FTP_SERVER
 permit tcp host 132.1.33.33 132.1.6.0 0.0.0.255 eq ftp

3 Comments »

  1. Thanks for this command!
    One more command added to my quick aliases.
    Early I use sh run | b command to see configuration of my IGPs. But this command is more accurate 🙂

    Comment by Unknown — December 11, 2007 @ 2:21 am | Reply

  2. Dude, you rock! I didn’t know about the “show run | section” either. I’ve been doing “show run | include”, possibly with some regex, to filter the output I need. The “section” option is awesome!

    How did I get along without this until now? I need to go be alone for a while…I think I’m going to cry. 🙂

    Comment by Ethan Banks — December 14, 2007 @ 6:03 am | Reply

  3. “How did I get along without this until now? I need to go be alone for a while…I think I’m going to cry. :-)”

    This has to be one of my favorite commands. The only thing that sucks is that switches don’t support it (yet).

    Comment by cciepursuit — December 14, 2007 @ 1:40 pm | Reply


RSS feed for comments on this post. TrackBack URI

Leave a reply to Unknown Cancel reply

Create a free website or blog at WordPress.com.