I have a desire to setup a custom device template to download a running config from a Cisco CUE (service module). My theory is that I can setup a new config type called CUE and then have it downloaded on the fly as needed in the web front end. Currently, we backup the configs to a FTP, which is effective, but not ideal.
Here is the crux of the issue from the device template:
<Command Name="CUE" Value="service-module service-engine 0/0 session${CRLF}Show running"/>
Now, on the device, here are the proper steps:
router# service-module service-engine 0/0 session
###banner message###
${CRLF}
router# show running
The problem I get is the 'script' gets hung up on the ${CRLF}... watching the session trace, the banner message comes up and the ${CRLF} is never processed; so the 'script' just hangs there.
Any ideas?