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
Lee,
Could you confirm the screen-length command works when you type it manually?
Do you have a private mailing addres to send the trace option?
You can either sanitize and attach to your post the session trace or open a case online:
Please reference this thread in your ticket to help the support person who will grab it to know what has already been tried.
No sadly the screen-length command didn't work?
Hello Yann, were you able to find any answers in the trace?
Hi Lee,
I did not see any traces attached to that thread, if you are talking about the case 53072 your colleague Viki opened sometimes ago about the Config Change Report, then the tech representative is waiting a reply to the last email she sent.
I watched the session trace in that case, and it is indeed showing the more --->>>prompts in the lines recorded by NCM for the 3com switch. In parrallel to keep working with us on the case, I would advise you to contact 3com to figure out if there is a command that works to disable/enable the more prompts as the screen-length command I found in the admin guide did not help.