cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
549
Views
0
Helpful
6
Replies

SFTP doesn't work on 9200 switch

Vinod
Level 1
Level 1

Hello, can anyone please help me to export the config to SFTP destination? I can upload files using winnows cmd but not from the cisco switch. SFTP is hosted on Azure

 

Error message %Error writing sftp://*:*@IP-address/test (Undefined error)

6 Replies 6

Hello,

Which command are you using? Do you have access to azure from the switch IP's on your firewall? 

BR

****Kindly rate all useful posts*****

Vinod
Level 1
Level 1

Yes, connection is open on switch for Azure over ssh

I use command copy running-config sftp:

Ensure that the Cisco switch can reach the Azure SFTP server over the network.
Check for any firewall rules or network restrictions that might be blocking the connection.
Check the logs on your Azure SFTP server for any error messages or authentication failures that might shed light on the issue

switch# copy running-config sftp://username@IP-address/directory/filename

balaji.bandi
Hall of Fame
Hall of Fame
Error message %Error writing sftp://*:*@IP-address/test (Undefined error)

This showsr far end SFTP server  denied  for some reason - check the SFTP Logs

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

on azure side it shows Unknown error 403.  I don't find any other details 

Review Cisco Networking for a $25 gift card