12-16-2011 03:39 AM
Hello
I know it is a common pb with LMS.
I looked to previous discussion about this pb and I did not find the solution.
I tried to do the command in cli : copy flash:vlan.dat tftp://ip-server/vlan.dat.
With the cli command, the vlan.dat is copied onto the tftpboot directory.
Why doesn't it work with LMS ?
Here is the detail :
*** Device Details for 172.20.255.3 ***
Protocol ==> SSH
Selected Protocols with order ==> SSH,TFTP,Telnet
Execution Result:
RUNNING
Primary Login Succeeded
/ Primary Enable Succeeded
CM0061 PRIMARY RUNNING Config fetch SUCCESS for 172.20.255.3, no change in configuration.
VLAN
CM0151 VLAN RUNNING Config fetch failed for 172.20.255.3 Cause: Command failed
VLAN Config fetch is not supported using TFTP.
TELNET: Failed to establish TELNET connection to 172.20.255.3 - Cause: Connection refused.
Action: Check if protocol is supported by device and required device package is installed.
Check device credentials. Increase timeout value, if required. *** Device Details for 172.20.255.3 ***
Protocol ==> SSH
Selected Protocols with order ==> SSH,TFTP,Telnet
Execution Result:
RUNNING
Primary Login Succeeded
/ Primary Enable Succeeded
CM0061 PRIMARY RUNNING Config fetch SUCCESS for 172.20.255.3, no change in configuration.
VLAN
CM0151 VLAN RUNNING Config fetch failed for 172.20.255.3 Cause: Command failed
VLAN Config fetch is not supported using TFTP.
TELNET: Failed to establish TELNET connection to 172.20.255.3 - Cause: Connection refused.
Action: Check if protocol is supported by device and required device package is installed.
Check device credentials. Increase timeout value, if required.
Regards
Michel
Solved! Go to Solution.
12-23-2011 12:18 AM
Try setting the nat ip address from here:
Admin > Collection Settings > Inventory > Inventory/Config Timeout and Retry Settings
Verify that CWCS tftp services is up and running from the "Start -> Control Panel -> Administrative Tools -> Services".
Also check the Windows application logs from the event viewer for any errors for CRMtftp service.
12-22-2011 11:20 AM
I think both Running and Startup Config are set using SNMP to do a TFTP upload.
I seems it is not to be possible to do this with vlan.dat. For that it needs TELNET or SSH cli access.
Cheers,
Michel
12-22-2011 11:56 PM
HI
When you say that it uses snmp instead of ssh to do tftp upload , how do you configure it ?
I checked SNMP(V3) and SSH credential. They are OK
The pb is that TFTP and SCP is not working with LMS for all applications.( I tried that leaving only TFTP or SCP in the archive fetch protocol allowed)
I cannot fetch any vlan.dat or config with tftp or scp protocole.
The only protocole that is working is SSH.
However, I can manually with cli command on the switches do Tftp or Scp tranfert to the LMS.
So it is not a firewall pb.
Whe doesn'it work when LMS is doing his archive job ?
All the process are running normally.
This problem appears after an upgrade from 3.2 to 4.01.
Before , with 3.2, lms could fetch vlan.dat.
Any idea ?
Michel Misonne
12-23-2011 12:18 AM
Try setting the nat ip address from here:
Admin > Collection Settings > Inventory > Inventory/Config Timeout and Retry Settings
Verify that CWCS tftp services is up and running from the "Start -> Control Panel -> Administrative Tools -> Services".
Also check the Windows application logs from the event viewer for any errors for CRMtftp service.
12-23-2011 07:28 AM
Hello
After setting a natted Ip adresse in
I can now fetch Vlan.dat.
Config Archive is now "successful" for most of the device! Before, it was "failed" for all devices.
This is maybe because the LMS serveur has 2 ethernet interfaces
One for admin access and one for device pooling .
Michel
12-23-2011 01:02 AM
Not sure what I was thinking last night..... Time to take a break of a few days for christmas....
I know for TFTP LMS uses the config mib to set the TFTP server IP address, so it needs write acccess to do that but that is not relevant for the vlan.dat since we can't get it via TFTP.
Looking at the message it appears to try:
The "command failed" is the problem here but I have no idea what could be wrong.
You best set the log levels to debug under: Admin > System > Debug Settings > Config and Image Management Debugging settings, for the ArchiveMgmt services.
Then in the job directory the logs and the dcmaservice.log and ConfigMgmtServer.log should help to get to the bottom of this.
You may want to run logrot_trunc.exe on the later 2 files before you run the job
Cheers,
Michel
12-23-2011 07:38 AM
Hi
Here is Dcmaservice.log with debugging.
(The ConfigMgmtServer.log is empty.)
There are 2 versions of this file, because we change a parameter, which seems to solve the pb:
We add a "natted Ip adresse" in
Admin > Collection Settings > Inventory > Inventory/Config Timeout and Retry Settings
Note :the LMS has 2 interfaces.
See log Dcmaservice_old.log before the modification and Dcmaservice.log after the modification.
Michel Misonne
12-23-2011 07:55 AM
And you just added the IP of the "polling" interface into the "natted IP address" field?
Cool
Michel
12-23-2011 08:04 AM
Absolutely Yes..
Before it was set to "Default not Defined"
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide