2960 Switch

Answered Question
Aug 3rd, 2010
User Badges:

Hello. I'm config cisco 2960 switches and I know there is a sh run command to double check everything but I was wondering if there was a print command which would allow me to see it all at once so that I can put it in a help document that would be great.

Correct Answer by Leo Laohoo about 6 years 10 months ago

2960?  Ok.  If you have a TFTP client installed you can try this command:  "sh run | redirect tftp:///"


If you do this, note that the file CANNOT be opened by Notepad.  Technically, you CAN but you sure won't make any sense of it because of the way Notepad interprets UNIX's carriage return.


This is the method I would use when TAC want's a copy of the "sh tech-support". 


If you want to use an easy-to-use TFTP client (and free), try TFTP32. http://tftpd32.jounin.net/tftpd32_download.html


Is this what you are looking for?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
johuggin Tue, 08/03/2010 - 12:56
User Badges:

Hello Alan,


You can turn off the pausing with the following command:


2960# terminal length 0


Now, you should be able to do a show run and get the whole output. Is this what you were looking for?


Thanks,

-Joe

AlanELint Tue, 08/03/2010 - 15:03
User Badges:

Sadly no. Sorry if I wasnt clear. What I'm looking for is a command that will take all that config info

and allow me to print it so that I can put it in a guide to show people what it should look like.

Correct Answer
Leo Laohoo Tue, 08/03/2010 - 15:13
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

2960?  Ok.  If you have a TFTP client installed you can try this command:  "sh run | redirect tftp:///"


If you do this, note that the file CANNOT be opened by Notepad.  Technically, you CAN but you sure won't make any sense of it because of the way Notepad interprets UNIX's carriage return.


This is the method I would use when TAC want's a copy of the "sh tech-support". 


If you want to use an easy-to-use TFTP client (and free), try TFTP32. http://tftpd32.jounin.net/tftpd32_download.html


Is this what you are looking for?

AlanELint Tue, 08/03/2010 - 16:10
User Badges:

So what can I open that file in so I'll be able to read it and what nonsense?

Leo Laohoo Tue, 08/03/2010 - 17:44
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

You can use any application.  Just don't use Notepad.  I use Wordpad or Word.


Once you open with, for example, Wordpad save it again and then you can open the file using Notepad.


Hope this helps.  Please don't forget to rate useful posts.  Thanks.

AlanELint Tue, 08/03/2010 - 18:05
User Badges:

I shall when I give it a try tomorrow morning at work. Thanks

Leo Laohoo Tue, 08/03/2010 - 18:20
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Just for tickles, before doing anything, try opening it with Notepad. 

AlanELint Wed, 08/04/2010 - 05:15
User Badges:

Well that worked thank you and I did open it in notepad on accident without thinking and I was like "well shit, he was right. I cant understand this at all!"

Leo Laohoo Wed, 08/04/2010 - 05:23
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Thanks.  Glad to see I was of some assistance.  

Actions

This Discussion