You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use a Huawei CE6850-48T4Q in my lab and try to replace the config with the nornir-napalm plugin.
result = device.run(task-napalm_configure, filename='test.cfg', replace=True)
I get the error message:
Unrecognized command found
The reason for that is, that this switch does not support the 'display system file-md5' command. I assume that it is used to check if the config file was correctly transmitted to the device's flash.
def _get_remote_md5(self, dst):
command = 'display system file-md5 {0}'.format(dst)
output = self.device.send_command(command)
filename = os.path.basename(dst)
match = re.search(filename + r'\s+(?P<md5>\w+)', output, re.M)
if match is None:
msg = "Unexpected format: {}".format(output)
raise ValueError(msg)
return match.group('md5')
I know that this switch is quite old and uses an old firmware. I don't have a newer one to check if this command is available there. Is there a possibility to replace the config on older models?
Thank you
Remo
The text was updated successfully, but these errors were encountered:
Hi
I use a Huawei CE6850-48T4Q in my lab and try to replace the config with the nornir-napalm plugin.
I get the error message:
The reason for that is, that this switch does not support the 'display system file-md5' command. I assume that it is used to check if the config file was correctly transmitted to the device's flash.
I know that this switch is quite old and uses an old firmware. I don't have a newer one to check if this command is available there. Is there a possibility to replace the config on older models?
Thank you
Remo
The text was updated successfully, but these errors were encountered: