IOS CLI: Show Run Linenum
September 9, 2009 by Greg Ferro · 4 Comments
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.
- Serial Console on OSX
- IOS: Reverse SSH console access — Part 2
- IOS: enable and .… disable ?
- IOS: Setting the TCP timeout on IOS
- IOS:CLI Tip — terminal full help
- OS X:Terminal break for Serial Console on OS X
- Changing the break character in Cisco IOS
- IOS CLI: show run linenum
- IOS: Setting Terminal Window Length
- IOS: Clearing an interface configuration
- IOS: Console, Terminal, Monitor, VTY — what is what ?
- IOS: “terminal monitor” on, off — logging to your terminal
- The poor man’s IOS Traffic Generator
- Setting the Defaults for PUTTY
- Putty — Recommended Default Settings for a Network Engineer
- Putty, the Command Line and NO clicky clicky
- Review: goSerial — Console Break for Network Devices on OSX


(3 votes, average: 9.33 out of 10)
Thanks, very useful command — never noticed it before
Hi,
Yes really useful, thanks again
“Cheap and large flash” means that you have heaps of weird code in IOS, including Tcl, XML, VoiceXML, maybe Perl is coming along …
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.