ā01-12-2024 12:23 PM
Hi,
I have installed the solerwind sftp server in my window machine and i want to copy running configuration from cisco switch to sftp and vice versa.
Can someone help me with the below queries please
> Is Solorwind sftp server tools good to install in the network?
> What cmmand we use to copy running config from cisco swithc to sftp using sftp( copy running-config sftp:).
> What command we use to copy config from sftp to cisco switch?
> Is SCP and sftp is same thing?
Solved! Go to Solution.
ā01-12-2024 12:28 PM
Hello @Manish Manwal
SCP is primarily used for copying files between devices over a secure channel. It is command-line-based and operates over SSH.
SFTP provides a more comprehensive file transfer service with features like directory listings and remote file removal. It is also command-line-based and runs over SSH.
Both provide encrypted communication and secure file transfers but have some differences in their capabilities and commands.
To copy the running configuration from a Cisco switch to an SFTP server, you can use the following command:
Replace "username" with your SFTP username, "SFTP_Server_IP" with the IP address or hostname of your SFTP server, and "destination_filename" with the desired filename.
To copy a configuration file from an SFTP server to a Cisco switch, use the following command:
Replace "username" with your SFTP username, "SFTP_Server_IP" with the IP address or hostname of your SFTP server, and "source_filename" with the filename on the SFTP server.
ā01-12-2024 12:28 PM
Hello @Manish Manwal
SCP is primarily used for copying files between devices over a secure channel. It is command-line-based and operates over SSH.
SFTP provides a more comprehensive file transfer service with features like directory listings and remote file removal. It is also command-line-based and runs over SSH.
Both provide encrypted communication and secure file transfers but have some differences in their capabilities and commands.
To copy the running configuration from a Cisco switch to an SFTP server, you can use the following command:
Replace "username" with your SFTP username, "SFTP_Server_IP" with the IP address or hostname of your SFTP server, and "destination_filename" with the desired filename.
To copy a configuration file from an SFTP server to a Cisco switch, use the following command:
Replace "username" with your SFTP username, "SFTP_Server_IP" with the IP address or hostname of your SFTP server, and "source_filename" with the filename on the SFTP server.
ā01-12-2024 01:48 PM
do i need to run this command to copy running config ? "ip ssh source-interface GigabitEthernet0"
ā01-12-2024 01:58 PM
Depend of routing perspective. Do you need to source your ssh flow with Giga0 ip address in order to have a successful complete path to the destination and for the packet return ...
ā01-12-2024 12:36 PM
Sftp use ssh'
So you need domain and key and then try copy running into sftp.
MHM
ā01-12-2024 01:53 PM
what device and IOS code running on the device ?
i generally use as below that works for me.
copy running-config scp://USERNAME@x.x.x.x
SSH source where you have any different routings and want to send via specific interface, if you have default route that should take care of it.
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