I have been trying to setup the device template for a Nomadix Gateway/Server and I am getting hung up on menu based CLI as well as the paging configuration.
<Configuration-Management Device="Nomadix" SystemOID=" 1.3.6.1.4.1.3309.1.5">
<Commands>
<Command Name="Reboot" Value="reload${CRLF}Yes"/>
<Command Name="EnableCommand" Value="configuration${CRLF}"/>
<Command Name="VirtualEnablePrompt" Value="Configuration>"/>
<Command Name="EnterConfigMode" Value="config"/>
<Command Name="ExitConfigMode" Value="end"/>
<Command Name="DownloadConfig" Value="summary${CRLF}" />
<Command Name="Version" Value="system${CRLF}viewsoftware" RegEx="Software Version:" Delay="300"/>
<Command Name="More" Value="--enter"/>
</Commands>
</Configuration-Management>
This will get me to the configuration output needed but will stop at the first paging event and not complete.
For example:
1. Login into the device using normal telnet/ssh credentials.
2. First menu type in "configuration" and press enter.
3. Second menu type in "summary" and press enter.
This is the output.
Version
NSE ID
Network interface MAC
Subscriber interface 1 MAC
Subscriber interface 2 MAC
Dynamic Address Translation
DNS Redirection
HTTP Proxy Redirection
-- Enter <CR> to continue, <ESC> to abort --
This is where it gets stuck during the session trace, is there any way to get around this. Also as an FYI, if I use the More command in the template using the entire string causes errors due to the CR and ESC being enclosed.