When downloading configs (using SHH2, & NCM 5.0) from switches we have added text
E.G secondary authentication ?.?.?.? ---- More ---- accounting optional
As above. Can this be stopped?
Many Thanks
Hi,
The more prompt, useful when you connect&display manually the conf, should be removed by NCM for most of the Device Templates.
e.g. for the Cisco IOS template, it sends the command:
terminal width 0
terminal length 0
or
set length 0 (in the Cisco Catalayst Cat OSS device template)
to remove the more prompt.
On Which switch model(s) do you see the issue?
Which Device Template do you use? if you set it to auto determine, what is the SysObjectID of your switch model?
you can find it in the Device Details tab when you edit a node (System OID field).
Thanks,
Yann
The default 3com device template does not seem to contain a command to avoid getting the more prompts.
You can edit it in preferred editor and modify the RESET command.
\Program Files\Solarwinds\Configuration Command\DeviceTypes\3Com-1.3.6.1.4.1.43.1.16.4.ConfigMgmt-Commands
As per the Command Reference Guide (page 37 of the pdf) of that model, we have to type the screen-length 0 command to disable the more prompts. It looks like we need to go into the system view and then access user-interface context. (I have never touched a 3Com switch).
the template already logs you in the system view context, so we should only need to access the user-interface context.
By default I will use the same command used in the guide, but modify it if needed.
Could you modify the <Command Name="RESET" Value="${CRLF}"/> to:
<Command Name="RESET" Value="user-interface aux 0${CRLF}screen-length 0${CRLF}return${CRLF}"/>
Save the file and try to download the configuration to see if that helped.
If that helped, then you might not want to keep this settings all the time.
You can define another command in the file and run it once the Download command has finished.
<Command Name="UNDORESET" Value="user-interface aux 0${CRLF}undo screen-length${CRLF}return${CRLF}"/>
and then modify <Command Name="DownloadConfig" Value="display ${ConfigType}"/> to:
<Command Name="DownloadConfig" Value="display ${ConfigType}${CRLF}${UNDORESET}"/>
Let me know if that helps. If not then a session-trace would be great to troubleshoot the problem.
To run a session trace:
Hi Yann, I tried replying to say all options failed :-(
DO you have a private mailing addres to send the trace option?
Thanks
Lee