2 September 2010

IOS CLI: Show Run Linenum

You probably know this one already, but I have been typing “wr t” for a long time and never stopped to look. Puts a line number at the side of the config so you can say to the person on the other end of the phone, see line 10……….

r2#sh run linenum
Building configuration…

Current configuration : 3057 bytes
1 : !
2 : upgrade fpd auto
3 : version 12.4
4 : service nagle
5 : no service pad
6 : service tcp-keepalives-in
7 : service tcp-keepalives-out
8 : service timestamps debug datetime msec localtime show-timezone
9 : service timestamps log datetime msec localtime show-timezone
10 : service password-encryption
11 : service sequence-numbers
12 : !
13 : hostname r2
14 : !
15 : boot-start-marker
16 : boot-end-marker
17 : !

They think of everything these days. I suspect that cheap and large flash in your routers means that useful commands are now possible. I must start looking for them more often.

Please rate this post:

1 Star - It\\\'s Crud2 Stars - It\\\'s Tosh3 Stars - Something\\\'s missing4 Stars - Needs works5 Stars - Good Enough6 Stars - Good7 Stars - Excellent8 Stars - Brilliant9 Stars - Astonishing10 Stars - Awesomely Godlike? (3 votes, average: 9.33 out of 10)
Loading ... Loading ...

About Greg Ferro
Greg is a Network and Security Architect / Designer / Engineer working freelance in the UK and worked for Resellers, DotCom's, Large Corporate's and Service Providers across a variety of products & Vendors. He prefers to work for end users, believes in the life cycle, total cost of ownership and that near enough is often good enough. He likes talking about himself in the first person to feel "royal", even when hosting the Packet Pushers Podcast on Data Networking. More about Greg at http://etherealmind.com/who-am-i/ and you can follow him on Twitter.

Comments

  1. Andrew says:

    Thanks, very useful command – never noticed it before

  2. cacprone says:

    Hi,

    Yes really useful, thanks again

  3. “Cheap and large flash” means that you have heaps of weird code in IOS, including Tcl, XML, VoiceXML, maybe Perl is coming along … ;)

  4. Ben Story says:

    I wish that Cisco would realize that flash is cheap and could be larger. I can’t believe how small of flash chips still come standard compared the to the larger and larger IOS images. Of course it would also be nice to run uncompressed IOS images like in dynamips. They load much faster.

Speak Your Mind

*