extremenetworks / ExtremeScripting

Scripts and Utilities for working with Extreme Networks products
150 stars 93 forks source link

HPE H3C Comware script does not work with H3C 7.1 #75

Closed FlavioB79 closed 4 years ago

FlavioB79 commented 4 years ago

Hi all. I've tried using the script with H3C running firmware 7.1 and it won't work. XMC tells me "Backup failed, TFTP error". I'm running XMC 8.3.3.11

Any help? Thanks, Flavio.

ZdenekPala commented 4 years ago

Hi Flavio.

can you share the CLI?

Z.

FlavioB79 commented 4 years ago

Hi Zdenek. I tested it as follows. I open "Terminal" from XMC GUI and after logging in, I type:

backup startup-configuration to 10.114.4.227 NV0014.cfg Backup next startup-configuration file to 10.114.4.227,please wait... Backup failed, TFTP error! Trying to TFTP to another server (Jounin's TFTP Server), it looks like this: backup startup-configuration to 10.114.4.40 NV0014.cfg Backup next startup-configuration file to 10.114.4.40,please wait... Finished. Thanks for your help! Flavio.
ZdenekPala commented 4 years ago

Hi Flavio.

Please try this, and let me know.

HPE_H3C_Comware_7_Switch.txt

FlavioB79 commented 4 years ago

Hi Zdenek - IT WORKS! What did you actually change? At first look, I couldn't see the difference between the 5 and the 7 version scripts... F.

ZdenekPala commented 4 years ago

That is a secret sauce 👯‍♂ the H3C changed the response if it is sucessful from "finished!" to "Finished." I will publish this file to GitHub. thanks for cooperation!

FlavioB79 commented 4 years ago

Yeah - that's the only difference I noticed, so I actually ignored it :-( Thanks for your quick help!

I still got an issue that XMC is not backing up some HP5900AF switches running the same Comware version 7.1.045 as the other switches (HPE 5130 - the ones now "fixed").

Any further help here? Thanks, Flavio.

ZdenekPala commented 4 years ago

Lets repeat the procedure: What commands you use and what is the switch response?

FlavioB79 commented 4 years ago

Sorry - this time it was a firewall issue: I missed that there was no policy for the "core" switches to talk to the XMC... All good! Thanks again! Flavio.