Header Only - DO NOT REMOVE - Extreme Networks
Question

XMC failed to backup Avaya ERS switches via BOSS-SFTP script


When using the included "BOSS-SFTP" script to backup various recent builds of Avaya ERS switches, the backups fail to authenticate to XMC. I am not sure what credentials the script is using to authenticate to the XMC server or how to change it. I have tested an SFTP client from my PC to the XMC server using my and root credentials and I am able to get a session so I know XMC is listening. Here is syslog output from an ERS (10.33.20.10) running the script to connect to the XMC server (10.50.26.222) and failing to authenticate.

2018-09-24 13:11:12 Daemon.Info 10.33.20.10 Sep 24 13:11:13 ETR_Olive SSH:SSHC: Password Authentication failure
2018-09-24 13:11:12 Daemon.Info 10.33.20.10 Sep 24 13:11:13 ETR_Olive SSH:SSHC: ASCII CFG upload SFTP failure
2018-09-24 13:11:37 Daemon.Info 10.33.20.10 Sep 24 13:11:37 ETR_Olive SNMP:Trap: bsnConfigurationSavedToNvram
2018-09-24 13:11:42 Auth.Info 10.33.20.10 Sep 24 13:11:42 ETR_Olive SSH: [ssh]#6 Session closed (lost connection), IP address: 10.50.26.222, access mode: r/w
2018-09-24 13:11:42 Auth.Info 10.33.20.10 Sep 24 13:11:42 ETR_Olive SSH: [ssh]#6 Connection closed (lost connection), IP address: 10.50.26.222[/code]
XMC reports the results as follows:

Archive Save Management Center Archive: (10.33.20.10) Version Stamp: Sep 24, 2018 2:23:40 PM - % Failed to authenticate the connection. :[/code]

6 replies

Userlevel 7
You'd set the file transfer user/pw in the Administration > Options....

Awesome! That was the trick, didn't know where this was. We are new to XMC but it is already making things easier than what we were doing before.

Thanks for pointing me to the right place.
Hi! Backup of ERS3626 not possible, cause filename too long:

XMC serverlog:

ERS3626(config)#copy config sftp address 10.10.10.80 filename /root/configs/tmp/10_10_10_232/nms.xsf username user password
% SFTP Filename too long (max length 30).

Someone knows a solution?
Thanks in advance
Userlevel 2
Magnus Ludwig wrote:

Hi! Backup of ERS3626 not possible, cause filename too long:

XMC serverlog:

ERS3626(config)#copy config sftp address 10.10.10.80 filename /root/configs/tmp/10_10_10_232/nms.xsf username user password
% SFTP Filename too long (max length 30).

Someone knows a solution?
Thanks in advance

Hi all,
we see the same issue but no solution yet. Thanks for any help.
regards
Alex
Hi guys,

regarding this article
https://extremeportal.force.com/ExtrArticleDetail?n=000035775&q=%3C%40-%20%25%20SFTP%20Filename%...

there is a 30-character limitation in the boss code for filename

the default boss-sftp script copies the file into /root/config/tmp/10_10_10_232/nms.xsf

boss interprets the whole string as filename, so its too long.

provided resolution is to upgrade the switches to the last release.

BUT
- there is no hint to this problem in the release notes
- in my case with last ers3600 release (6.2.0.57) the problem still exists

i hope extreme will release a fix soon

nr
richi
Hi guys

there is a bugfix for ers3500 in release 5.3.9

for ers3600 there is no new release till april, 25th.
i hope there will a new version including this fix soon.

nr
richi

Reply