Solved

EMC tftp

  • 17 December 2018
  • 5 replies
  • 351 views

Is it possible to tftp a config file from a non-Extreme device to the Netsight server?
I'd like to schedule config backups but I'm not having much luck. I'm attempting to run a script to copy startup-config to the Netsight server.

When I run the command on a Dell switch: "copy startup-config tftp://x.x.x.x/%DEVICEIP%.txt,"
I get the error: "%TFTP-A-TftpRxERROR: An error message was received: 2 "
I run the same command and point it to a tftp server on my machine and it transfers successfully.
icon

Best answer by Zdenek Pala 27 December 2018, 11:53

Please be inspired here at GitHub

The Dell is available to download there also. Good luck!
View original

5 replies

Userlevel 5
Hello Jeff,

first of all you have to check how you can do a backup e. g. to an TFTP-Server manually on the CLI of you switch. Remember the commands you are using on the cli for backup.
Now you can create you on Backup-Script in XMC. If you need information how to create this script open the online help in XMC and search for:

How to Set Up Third-Party Device Support


Regards
Stephan
Userlevel 5
Hello Jeff,

one more hint. Remember the result you will receive if you do the backup on the Dell CLI.
In the backup script there is a section to check if the backup was successful. In that session you can fill in the CLI result (with regex).

Regards
Stephan
Actually, because of the way Dell handles ssh login, I'm unable to use an EMC script. However, it does work if I run the script from the Java legacy Netsight application.

My problem is, I'd like to use the tftp server built into EMC and store the configs on the EMC server. When I attempt to run the copy tftp command on the Dell switch, I get the error: "%TFTP-A-TftpRxERROR: An error message was received: 2 "

I have a tftp server on my desktop and the file copies successfully so for some reason, EMC's tftp server won't allow a file to be transferred to it.
Userlevel 5
The XMC tftp allows only known devices by default for security reasons.

See here how to change:
Cannot create new backup via tftp within Netsight

(admin edit to use non-mobile URL)
Userlevel 7
Please be inspired here at GitHub

The Dell is available to download there also. Good luck!

Reply