1753792 Members
7153 Online
108799 Solutions
New Discussion

Re: Failed to obtain the device version

 
vineeth-46058
Frequent Advisor

Failed to obtain the device version

Hello,

we are getting the following error for device cisco ASA5515

Failed to obtain the device version. backup failed.

 

12 REPLIES 12
LindsayHill
Honored Contributor

Re: Failed to obtain the device version

Remove SNMP read-write settings from that device.

Check credentials. 

Check file transfer method + login type.

What does the Device Capability List show for that device?

Check logs - there's a couple of things to check here http://community.hpe.com/t5/IMC/Backup-Config-Cisco-ASA/td-p/6858234

vineeth-46058
Frequent Advisor

Re: Failed to obtain the device version

SNMP was already set for Read-Only Community String.

credentials was good and working.

Transfer mode was TFTp and login type was ssh.

now the problem is half sloved we can backup for Running Configuration but it fails for Startup Configuration with same error "Failed to obtain the device version".

LindsayHill
Honored Contributor

Re: Failed to obtain the device version

What happens if you change the file transfer type to SCP? (And enable SCP on the ASA)

vineeth-46058
Frequent Advisor

Re: Failed to obtain the device version

Even we tried with SCP still i get an error Failed to obtain the device version.

LindsayHill
Honored Contributor

Re: Failed to obtain the device version

What do your logs say?

vineeth-46058
Frequent Advisor

Re: Failed to obtain the device version

This is all what i got in logs

 

2016-06-14 07:38:32.321 [INFO (-1)] [THREAD(6444)] [CSnmpOper::iCommitOper] writecommunity is empty for snmpv1/2 set operation.->[10.xx.xx.xx]
2016-06-14 07:38:32.321 [INFO (-1)] [THREAD(6444)] [CSnmpOper::iCommitOper] writecommunity is empty for snmpv1/2 set operation.->[10.xx.xx.xx]

2016-06-14 07:38:32.321 [INFO (0)] [THREAD(6444)] [CFileTransferTask::transferFileEx] File transfer result Code25 ,Device ip: 10.xx.xx.xx , transfer protocol: TRANSFER_PROTOCOL_CISCO_MIB , ActionType: 1 ,
2016-06-14 07:38:32.321 [INFO (0)] [THREAD(6444)] [CFileTransferTask::transferFileEx] Do file transfer, device ip: 10.xx.xx.xx, telnet transfer protocol: 1,result code: 12


2016-06-14 07:38:40.358 [INFO (0)] [THREAD(6444)] [CFileTransferTask::transferFileEx] Do file transfer, device ip: 10.xx.xx.xx, telnet transfer protocol: 4,result code: 4
2016-06-14 07:38:41.379 [INFO (-1)] [THREAD(6444)] [CSnmpOper::iCommitOper] writecommunity is empty for snmpv1/2 set operation.->[10.xx.xx.xx]
2016-06-14 07:38:41.380 [INFO (-1)] [THREAD(6444)] [CSnmpOper::iCommitOper] writecommunity is empty for snmpv1/2 set operation.->[10.xx.xx.xx]

2016-06-14 07:38:41.380 [INFO (0)] [THREAD(6444)] [CFileTransferTask::transferFileEx] File transfer result Code25 ,Device ip: 10.xx.xx.xx , transfer protocol: TRANSFER_PROTOCOL_CISCO_MIB , ActionType: 1 ,

2016-06-14 07:38:56.129 [WARNING (26)] [THREAD(6408)] [CSnmpScriptProcessor::exec()] Failed to exec snmp script exeutor. will try next command. AdaptName = CiscoSNMP, DevIP = 10.xx.xx.xx, Command script name = init_config_snmp.xml.

2016-06-14 07:38:56.129 [WARNING (26)] [THREAD(6408)] [CSnmpScriptProcessor::exec()] Failed to execute all commands in this step. AdaptName = CiscoSNMP, DevIP = 10.xx.xx.xx, ServiceName = ConfigBackup

LindsayHill
Honored Contributor

Re: Failed to obtain the device version

Use SCP + SSH.

Check the sysObjectID for that device - is it listed in the CiscoASA section of <imc>/server/conf/adapters/ICC/Cisco/adapter-index.xml

vineeth-46058
Frequent Advisor

Re: Failed to obtain the device version

we tried with SCP +SSH still it's same. please find the attached file.

LindsayHill
Honored Contributor

Re: Failed to obtain the device version

What does the Device Capabilities list show for that device?