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

  • 0
  • 1
  • Problem
  • Updated 2 weeks ago
  • (Edited)
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

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. :

Photo of Rafael Lopez

Rafael Lopez

  • 82 Points 75 badge 2x thumb

Posted 4 weeks ago

  • 0
  • 1
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 50,114 Points 50k badge 2x thumb
You'd set the file transfer user/pw in the Administration > Options....




Photo of Rafael Lopez

Rafael Lopez

  • 82 Points 75 badge 2x thumb
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.
Photo of Magnus Ludwig

Magnus Ludwig

  • 82 Points 75 badge 2x thumb
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
Photo of aloeffle

aloeffle

  • 976 Points 500 badge 2x thumb
Hi all, 
we see the same issue but no solution yet. Thanks for any help.
regards
Alex
Photo of Richard Muehlberger

Richard Muehlberger

  • 200 Points 100 badge 2x thumb
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