06-25-2024 02:23 AM - edited 06-25-2024 02:26 AM
I have a plain Cisco 3650 switch. I need to transfer the running config from this switch to a PC running SCP (Solarwinds)
The PC is directly connected to the switch & the ping is reachable between the switch and the PC.
SCP is enabled in the solarwinds tool running in the PC.
When I try to tranfer the running config using SCP it is not happening.
It says the remote host is not responding.
Not sure how to troubleshoot t.
Let me know how to troubleshoot and what basic commands are required in the swith for the successful scp transfer.
Solved! Go to Solution.
06-28-2024 03:32 AM
I share video and I mention you need SSH key and password and enable SCP then you can copy,
did you review the video ?
MHM
06-25-2024 02:26 AM
SCP is build on SSH
so the SW need to have SSH key before it can connect to server and exchange file
so
add domain to SW
generate rsa key general in SW
then check scp again
thanks
MHM
06-25-2024 02:31 AM
can u please give me the exact commands which should be configured in the switch ?
06-25-2024 02:39 AM - edited 06-25-2024 06:16 PM
below video how you can config SCP in SW
https://www.youtube.com/watch?v=95E4d5KSz7E&t=14s
please please please dont forget
1-add below two command before command aaa new-model
username <> privilege 15 password <>
enable password <>
2- dont wr (dony copy run into startup) until you can fully sure you can access to SW via console and VTY
06-25-2024 06:10 PM
The video which you have shared is sharing file from PC to Cisco switch.|
I am looking to transfer from Cisco switch to PC.
06-26-2024 01:42 AM
I re attached nee video check it
MHM
06-25-2024 07:15 PM
hi,
can you do FTP or TFTP instead?
make sure the switch can reach/ping the remote PC and there's no PC firewall blocking the app.
06-25-2024 08:06 PM
I want to use either SCP or SFTP. I cant use FTP or TFTP.
06-25-2024 10:04 PM
- your switch should have SSH key enabled
- Enable SCP with below command in switch
WS-C3650(config)#ip scp server enable
WS-C3650(config)#
Copy your running config file in flash
WS-C3650#copy running-config flash:
Destination filename [running-config]?
35490 bytes copied in 2.047 secs (17338 bytes/sec)
WS-C3650#dir
7776 -rw- 35490 Jun 26 2024 07:48:58 +03:00 running-config
from command prompt type below command with user name and switch IP
C:\IOS-XE>scp username@switchip:running-config C:\IOS-XE
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
it will prompt for password
06-25-2024 11:05 PM
ok will try this.
2 questions.
1. Is there any way I can do SCP from the switch to the windows PC ?
2. Is there any dependency on the encrytion alogirthm supported by the switch ?
06-27-2024 05:24 PM
Any reply or help ?
06-28-2024 03:23 AM
Hello RS9
source switch is 10.128.228.4 and destination is 10.128.228.11
copied from 10.128.228.4 to 10.128.228.11
10.128.228.4#copy flash:cat9k_iosxe.17.06.05.SPA.bin scp://user-name@10.128.228.11
Address or name of remote host [10.128.228.11]?
Destination username [user-name]?
Destination filename [cat9k_iosxe.17.03.06.SPA.bin]?
Writing cat9k_iosxe.17.03.06.SPA.bin CCC
it will prompt for password,
Ip scp server enable and crypto key should be enabled.
Thanks
06-28-2024 03:32 AM
I share video and I mention you need SSH key and password and enable SCP then you can copy,
did you review the video ?
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide