Spectrum NCM capture fails with "Login has failed"
search cancel

Spectrum NCM capture fails with "Login has failed"


Article ID: 48572


Updated On:


CA Spectrum DX NetOps


The capture of a Cisco NXS Configuration File via a perl script fails with error messages:

Login Error: Use of uninitialized value in concatenation (.) or string at
c:\Windows\TEMP\script_13 line 110
Host xxx.xx.xx.x:
Login has failed. Output:
The Spectrum logs return:
Jun 18 23:00:00 ERROR TRACE at NCMTaskIH.cc(1343): timer registration for tag 2 failed


DX NetOps Spectrum all releases


When NCM runs the script, it is attempting to login to the device, but the login fails.


Check if the script can be executed from outside the NCM via the command line.

Open a bash shell move to the $SPECROOT/bin/perl directory and execute the script in the following way:

<script_file> <device_ip> <device_username> <device_password> <device_enable_password> <telnet_login_timeout>[<telnet_cmd_timeout>]

If the script returns the same error message, check if the regeneration of the crypto-key at the device can solve the issue.