Friday, March 19, 2010

IOS CLI: Show Run Linenum

September 9, 2009 by Greg Ferro · 4 Comments 

This Post is Part of a Series — click for list on Console Mastery»

You prob­ably know this one already, but I have been typ­ing “wr t” for a long time and never stopped to look. Puts a line num­ber at the side of the con­fig so you can say to the per­son on the other end of the phone, see line 10.….…..

r2#sh run linenum
Building configuration…

Current con­fig­ur­a­tion : 3057 bytes
1 : !
2 : upgrade fpd auto
3 : ver­sion 12.4
4 : ser­vice nagle
5 : no ser­vice pad
6 : ser­vice tcp-​​keepalives-​​in
7 : ser­vice tcp-​​keepalives-​​out
8 : ser­vice timestamps debug dat­e­time msec loc­al­time show-​​timezone
9 : ser­vice timestamps log dat­e­time msec loc­al­time show-​​timezone
10 : ser­vice password-​​encryption
11 : ser­vice sequence-​​numbers
12 : !
13 : host­name r2
14 : !
15 : boot-​​start-​​marker
16 : boot-​​end-​​marker
17 : !

They think of everything these days. I sus­pect that cheap and large flash in your routers means that use­ful com­mands are now pos­sible. I must start look­ing for them more often.

Please rate this post:

  Why Rate Posts?
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 ...

Comments

4 Responses to “IOS CLI: Show Run Linenum”
  1. Andrew says:

    Thanks, very use­ful com­mand — never noticed it before

  2. cacprone says:

    Hi,

    Yes really use­ful, thanks again

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

  4. Ben Story says:

    I wish that Cisco would real­ize that flash is cheap and could be lar­ger. I can’t believe how small of flash chips still come stand­ard com­pared the to the lar­ger and lar­ger IOS images. Of course it would also be nice to run uncom­pressed IOS images like in dynamips. They load much faster.

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!