cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
938
Views
5
Helpful
3
Comments
tfleer
Community Member

Access the CLI on 300 and 500 Switches via PuTTY using SSH and Telnet. Please see attached Knowledge Base Article #4982

Comments
Remko de Koning
Level 1
Level 1

We are trying to automate backups for these switches using putty with an inputfile

Something like this:

copy running-config tftp://{IP address TFTP server}/switch01-runningconfig.txt


Unfortunately we cannot automate this as there a two prompts for a user as also seen in the PDF.

Why is the switch asking twice for a username and what can be done to automatically take backups with Putty?

When TelNet login is used the username is only asked once. Unfortunately Putty does not support input files with Telnet.

Any advice on this topic is more than welcome.

Remko

Aleksandra Dargiel
Cisco Employee
Cisco Employee

Hi Remko,

Automatic login was added with the latest release. You may take a look at page 506:

http://www.cisco.com/c/dam/en/us/td/docs/switches/lan/csbms/sf30x_sg30x/administration_guide/Cisco_300Sx_v1_4_AG.pdf?mdfid=283019666

I guess you got it working as per Jody advise:

https://supportforums.cisco.com/discussion/12375366/login-ssh-without-user-name-and-password

Aleksandra

 

 

Remko de Koning
Level 1
Level 1

Yes, I got it working. Still one small hurlde to overcome.

With Putty you can have an input file with your commands. For some reason I cannot get this to work yet.

Without the input file I can log-on successfully to the switch but as soon as I add the input file with the command mentioned above I get a "Server sent disconnect message"

Not sure yet what is causing this.

Remko

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: