« Cisco WebVPN / SSL VPN / Thin Client / | Main | Recovering IOS from ROMMON via TFTP »

November 1, 2006

Random "Trick"

Okay, this may be old news to some of you, but someone showed it to me and it changed my life...or at least seemed like a pretty cool tip. On Cisco devices, you can filter the "show run" output by entering a forward slash (/) at the more prompt and typing in the section you want to move to.

So...

Router# show run
Building configuration...

Current configuration : 12919 bytes
!
! Last configuration change at 17:33:29 ARIZONA Tue Oct 24 2006 by jeremy
! NVRAM config last updated at 14:27:00 ARIZONA Fri Oct 20 2006 by jeremy
!
version 12.4
!
...blah blah other junk goes here
!
--More-- <---- enter the forward slash here followed by a word (such as interface) that you want to jump to.


This is essentially like doing the "show run | begin" syntax, but you can do it on the fly. Okay, maybe not life changing, but sure is handy on those massive config files.

Posted by JC at November 1, 2006 2:23 PM

Trackback Pings

TrackBack URL for this entry:
http://www.cioara.org/cgi-bin/mt-tb.cgi/109

Comments

If you ever used pine back in the day, this applied to the pico text editor which I am guilty of still using instead of VI/VIM. In case anyone else uses it.

Posted by: David Lundgren at November 11, 2006 11:18 PM

Sill question I know, but how do you get the config to be updated with :-

! Last configuration change at 17:33:29 ARIZONA Tue Oct 24 2006 by jeremy
! NVRAM config last updated at 14:27:00 ARIZONA Fri Oct 20 2006 by jeremy

each time it is saved? I remember seeing this, but for the life of me can't remember how it's done. Thanks

Posted by: david chances at September 11, 2007 3:43 AM

Post a comment




Remember Me?

(you may use HTML tags for style)