Cisco IOS Commands – Show Command Filters (Part 2)

switch

This is a continuation from the first part of this series on show command filters.  Please read part 1 on show command filters if you haven’t already.

Cisco IOS Command – Section Filter

The section filter Cisco IOS command is only available in newer Cisco IOS versions but is very useful should you have it available.  In older versions of Cisco IOS, if you wanted to view the EIGRP routing configuration, the fastest way is to run the “show run | b router eigrp” command, which would have the following output, with the unnecessary parts of the configuration shown as well.

Router#sh run | b eigrp 999
router eigrp 999
network 10.0.0.0
no auto-summary
eigrp router-id 10.0.1.1
!
ip forward-protocol nd
!
ip http server
no ip http secure-server
[Extra Lines Not Shown]

When you use the section filter, it only shows the EIGRP routing configuration, as below:

Router#sh run | s eigrp 999
router eigrp 999
network 10.0.0.0
no auto-summary
eigrp router-id 10.0.1.1
Router#

This is a great time saver, and is extremely useful especially if you need to troubleshoot and are pressed for time.

P.S. I created a handy chart comparing the various CCNA books. Click on the link to compare and buy now.

Cheers,
Francis (SavvyNetCert)

Bookmark and Share

Technorati Tags: , , ,

Share Your Thoughts

Spam Protection by WP-SpamFree

Canonical URL by SEO No Duplicate WordPress Plugin