Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JDM from command line

Status
Not open for further replies.

chrisbar

Technical User
Aug 11, 2009
4
GB
Does anyone know the command line switches for Java Device Manager?
Specifically I am trying to manage an SNMPv3 device using JDM from a command line so I will need to pass not only the host name (or IP address) but also the username, authentication protocol, and auth password.

(I am not using privacy so I'm not too worried about this)

thanks in advance.

Chris.
 
Chris,
I'm not sure I understand what you're asking. Command Line, and Java Device Manager are two separate tools for managing Nortel switches... the "command line" can be accessed via TELNET, SSH, or Serial console. If you are trying to manage an SNMPv3 device from JDM, then this is not a "command line" interface. If you need to know what commands to utilize from the command line to set-up SNMPv3 on the particular device that you are trying to manage, that is a different story..if so, please let us know which device and what version of code you have, and one of us could assist.

Thanks, HH
 
It's doing SNMP in the background, if you're trying to replicate a given config change over many devices you may be able to use something like Net-SNMP and a batch file or Perl script to replicate the SNMP GET/PUT statements that JDM is doing. You'd just need a packet capture of JDM doing one box.
 
I am trying to create a script for our network management platform so that when you select a Nortel switch you can click to open Java Device Manager for that switch.

I can do this if the switch is configured to use SNMPv1/2 and has the default community string:

jdm.jar <ip_address>

(full path removed for clarity).

Clearly this is not usually the case; we are moving towards all of our switches configured for snmpv3.

so I was hoping to get something like this:

jdm.jar <ip_address> -SnmpVersion 3 -AuthProtocol authNoPriv -authPassword <password> etc.

Note: these are pure guesses - it is this syntax which I want help with.
I am sure it should be possible as Enterprise Switch Manager allows JDM to be used against device icons within its maps.

thanks,
Bar.
 
OK, so now I've got a few more switches:
C:\Program Files\Nortel\JDM>jre\bin\java -jar jdm.jar --help
unknown option: --help
<host> -out -trace {sd} -rd <cmty> -wr <cmty> -trapPort <num> -trapLog <
boolean> -sysLog <boolean> -socket <num> -proxy <file> -cacheServer <host>

but still no mention of snmpv3 parameters.

Any help gratefully received!

thanks in advance,
Chris.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top