Guest

Preview Tool

Cisco Bug: CSCut26073 - Unable to backup Nexus via SFTP because -oPort value is wrong

Last Modified

Jan 31, 2017

Products (1)

  • Cisco Prime Network

Known Affected Releases

4.1(0.1)PP0 4.2(0.1)PP2

Description (partial)

Symptom:
Unable to backup Nexus via FTP because -oPort value in the sftp command is wrong.
The value should be number and not "default"

DEBUG [03 08 2015 15:27:44.787 IST] - CcmVneScriptLog - Command result: SFTP /temp-startup-config.cfg to /export/home/eyal41/tftp/tier4-dc-n5k-a_startup-config_1425821261724.cfg on x.x.x.x
IPV4
spawn sftp -o UserKnownHostsFile=/dev/null -oPort=default etuzon@x.x.x.x
Connecting to x.x.x.x...
command-line line 0: Bad number.

Couldn't read packet: Connection reset by peer

Run the command manualy
# sftp -o UserKnownHostsFile=/dev/null -oPort=22 xxxxxx@x.x.x.x
Connecting to x.x.x.x...
The authenticity of host 'x.x.x.x (x.x.x.x)' can't be established.
RSA key fingerprint is 39:23:ac:d7:a3:39:d0:69:97:db:c7:7e:43:58:48:5a.
Are you sure you want to continue connecting (yes/no)?

Conditions:
1. Model Nexus5K
2. Backup the device configuration using NCCM via SFTP
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.