SEARCH
 
Hot List:
  • 2 Steps to CCNP
  • CCNA
  • CCNA Voice
  • Direct from Cisco
  • General
  • GNS3 Related
  • Greatness habits revealed
  • GUI Utilities
  • IOS Foundations
  • IP Telephony
  • Linux Steroids
  • Off-Topic
  • Rivan Training Videos
  • Routing
  • Schedule
  • Switching
  • Total Network Security
  • Voice over IP
  • The Vault:
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • February 2008
  • January 2008
  • Our Associates:
    Awesome Wallpapers
    Download Ebooks
    Join Rivan IT Community
    Play Online Games
    Rivan Systems Main Site
    Search Online Videos
    Web Design
    Rivan Survey:
    Awesome Wallpapers
    Download Ebooks
    Join Rivan IT Community
    Play Online Games
    Rivan Systems Main Site
    Search Online Videos
    Web Design
    Rivan Sponsors:
    Link Here
    Quick Message:
    My New Favorite IOS Command
    Friday, June 13th, 2008 | IOS Foundations, Greatness habits revealed

    I know I mentioned this command in passing a few posts ago, but this command has become so valuable to me, it needs its own post. It's the show run | section command. This allows you to define any "major heading" from the IOS configuration and it will filter the running configuration down to just those sections. This is very similar to how the ASA "show run" command works.

    For example, I'm working on a book focused around CallManager Express (CME) right now. In CME, you create "ephones" which represent the IP Phones on your network. If I wanted to see the configuration for all my ephones, I can just type:

    CME_Voice#show run | s ephone
    max-ephones 24
    ephone-dn 1
    number 1000
    ephone-dn 2 dual-line
    number 1001
    ephone-dn 3 dual-line
    number 1003
    ephone-dn 10 dual-line
    number 1010
    huntstop channel
    ephone-dn 11
    number 1010
    preference 1
    ephone 1
    device-security-mode none
    mac-address 0014.1C48.E71A
    button 1:10
    ephone 2
    device-security-mode none
    mac-address 0019.D122.DCF3
    button 1:11
    ephone 3
    device-security-mode none
    mac-address 0014.A89E.F845
    button 1:1 2:2 3:3
    ephone 4
    device-security-mode none

    (FYI - "s" is short for "section") As you can see, this shows all the sections of running-config that start with "ephone", which is all my ephones and ephone-dns (their directory numbers). Gotta love it!

    Home | Main Site | Forum | Schedule
    Rivan Systems © 2008 All Rights Reserved