Anybody have a working script for NCM 6.1 and Cisco WLCs running 6.0.X or 7.0.X code?
Here's what I'm using today:
<Configuration-Management Device="Cisco WLC" SystemOID=" 1.3.6.1.4.1.9.1.828">
<Commands>
<Command Name="PreCommand" Value="${CRLF}"/>
<Command Name="RESET" Value=""/>
<Command Name="DownloadConfig" Value="show run-config"/>
<Command Name="More" Value="Press Enter to continue Or <Ctrl Z> to abort"/>
</Commands>
</Configuration-Management>
The issue I'm seeing is that the WLC appears to have two different "more" prompts. Mid-config section the prompt is:
--More or (q)uit current module or <ctrl-z> to abort
At the end of each section, the prompt is:
Press Enter to continue or <ctrl-z> to abort
Enabling tracing shows this repeating over and over in the logs:
[5/4/2011 2:24:21 PM] TimerTick: mstrData=<> State=3 - Connected to server - idle
[5/4/2011 2:24:21 PM] Pending Disconnect = False
[5/4/2011 2:24:21 PM] Pre-Commands: Waiting more than 3 seconds for response start sending pre-command if any...
[5/4/2011 2:24:21 PM] Config Prompt detector error: Invalid procedure call or argumentCurrentLine:
[5/4/2011 2:24:21 PM] Fuzzy match detector start detecting prompt. String1= String2=(ciscocontroller)>
[5/4/2011 2:24:21 PM] TimerTick: Just tick-tockin away. ..
Also seeing this same issue on our 4400s running 6.0.202 and a 5508 running 7.0.X.
Any suggestions or known working scripts?