Quantcast
Channel: THWACK: All Content - Network Configuration Manager
Viewing all articles
Browse latest Browse all 6057

HP (formerly 3Com) v1910 / v2928 PoE Switches

$
0
0

We have literally thousands of these same switches at one of our customers. We have to be able to use NCM to backup, change control, restore configurations to all of these switches.

 

One thing to point out is that the method the original poster (Jeff), and this here Jeff are using is somewhat unsupported by HP (formerly 3com).  When we login via Telnet, and type that command "_cmdline-mod on" then answer "Y" and enter the secret password - that is the only way we can access the advanced level command line.  It is somewhat Menu driven, but not really, because you can also type out commands. This is a strange bird to say the least, but one that *MUST* be solved and supported by Solarwinds at any cost. I am ready to open a case and work closely with any Engineer to get this resolved, but it must be resolved.

 

I get right to that "Please input password:" prompt, then it enters the correct number of *'s, but always reports incorrect password, then the rest of the script fails to run. I have tried the Template Builder Assistance and the Solarwinds Config Generator...and neither offer enough granularity in creating templates or configuration change scripts to be successful.


This is how it should work:

 

Username: admin

Password:

<PROMPT> _cmdline-mode on

All commands can be displayed and executed. Continue? [Y/N] Y

Please input password: ******

Warning: Now you enter an all-command mode for developer's testing, some commands may affect operation by wrong use, please carefully use it with our engineer's direction.

<PROMPT>


This is the reality when executing via script in NCM:

 

Username: admin

Password:

<PROMPT> _cmdline-mode on

All commands can be displayed and executed. Continue? [Y/N] Y

Please input password: ******

incorrect password

<PROMPT>


Here is the ConfigMgmt-Commands File I am working with -- Note some of this is added after using the Template Builder Assistant:

 

<Configuration-Management Device="3com-2928" SystemOID="1.3.6.1.4.1.43.1.8.75">

  <Commands>

    <Command Name="ALLOCATEPTY" Value="True" />

    <Command Name="CUSTOMUSERNAMEPROMPT" Value="Username:" />

    <Command Name="MENUBASED" Value="True" />

    <Command Name="EnterConfigMode" Value="_cmdline-mode on${CRLF}" />

  <Command Name="VirtualEnablePrompt" Value="Y${CRLF}" REGEX="All commands can be displayed and executed. Continue? [Y/N]" DELAY="5" />

  <Command Name="VirtualEnablePrompt" Value="123456${CRLF}" REGEX="Please input password:" DELAY="5" />

  <Command Name="DOWNLOADCONFIGINDIRECT" Value="backup startup-configuration to ${StorageAddress} ${Node Name}.cfg ${CRLF}" />

  </Commands>

</Configuration-Management>


Here is the Execute Script I am working with -- Generated with Solarwinds Config Generator 1.0:

 

'ADVANCED:FILTER RESULTS:False

'ADVANCED:FILTER PATTERN:Serial

'ADVANCED:SHOW COMMANDS:True

_cmdline-mode on

Y

123456

backup startup-configuration to 157.241.7.206 ${Node Name}.cfg

 

I hope someone has either done this or Solarwinds Tech Support see's this and can help me get to the next step.

 

Thanks,

Jeff Singleton

Motorola Solutions Inc.


Viewing all articles
Browse latest Browse all 6057

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>