So to preface this I have already read both of these threads:
Connectivity issues, discarding configuration (or configuration is too short) NCM 7.1
Connectivity issues, discarding configuration (or configuration is too short)
I have modified a Cisco WLC device template and enabled session trace. NCM successfully connects to the node and performs the required commands and receives the output I expect according to the trace, however NCM never accepts the output and instead always gives the error listed as the subject of this discussion - Connectivity issues, discarding configuration (or configuration is too short).
Does anyone have any thoughts on why this would be happening?
Here is the line I changed in the device template:
WAS:
<Command Name="DownloadConfig" Value="show run-config"/>
NOW:
<Command Name="DownloadConfig" Value="config paging disable${CRLF}show run-config commands"/>
Here is output from the session trace:
[10/22/2014 12:03:19 PM] Start check prompt for menu-based device
[10/22/2014 12:03:19 PM] Process Line = <(Cisco Controller) >>
[10/22/2014 12:03:19 PM] Fuzzy match detector start detecting prompt. String1=(ciscocontroller)> String2=(ciscocontroller)>
[10/22/2014 12:03:19 PM] <-- show run-config commands
[10/22/2014 12:03:19 PM] Process Line = <>
[10/22/2014 12:03:19 PM] --->s
[10/22/2014 12:03:19 PM] Receive Event: Pre-Commands found, start check for RegEx if any
[10/22/2014 12:03:19 PM] Start check prompt for menu-based device
[10/22/2014 12:03:19 PM] Process Line = <s>
[10/22/2014 12:03:19 PM] Fuzzy match detector start detecting prompt. String1=s String2=(ciscocontroller)>
[10/22/2014 12:03:19 PM] Pushing back: <s>
[10/22/2014 12:03:19 PM] mPrompt is : <(Cisco Controller) >>
[10/22/2014 12:03:19 PM] --> how run-config commands
[10/22/2014 12:03:19 PM] --> 802.11a 11nSupport a-mpdu tx scheduler enable
[10/22/2014 12:03:19 PM] -->
[10/22/2014 12:03:19 PM] --> 802.11a 11nSupport a-mpdu tx scheduler timeout rt 10
<<Output Omitted>>
[10/22/2014 12:03:26 PM] Fuzzy match detector start detecting prompt. String1=(ciscocontroller)>? String2=(ciscocontroller)>
[10/22/2014 12:03:26 PM] SendNextCommand Done: Disconnecting