[SNMP4J] Please help with a SNMP v3 GET !!!

Rodolfo Josÿffffe9 Castellanos Jaimes rodolfojcj at yahoo.com
Fri Feb 25 07:17:22 CET 2005


Hi friends. I'm again requesting your help.

I'm doing some tests with the snmp4j console tool. I
have a Cisco Switch Catalyst 2950 and I've configured
it in several ways to do some tests. All is fine with
v1 and v2c, but with v3 it is cracking my head.

I have done very configurations (with v3) in the
router, but none of them had worked fine.

These are the commands that I've done in the router to
configure it:

----
primogenito>ena
Password:
primogenito#configure terminal
Enter configuration commands, one per line.  End with
CNTL/Z.
primogenito(config)#configure t
primogenito(config)#snmp-server engineID local
123456789
primogenito(config)#snmp-server group groupV3 v3
noauth
primogenito(config)#snmp-server user userV3 groupV3 v3
primogenito(config)#end
primogenito#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]

primogenito#show running-config
.
.
.
snmp-server engineID local 123456789000000000000000
snmp-server user userV3 groupV3 v3
snmp-server group groupV3 v3 noauth
.
.
.
----

Next, that I run the SNMP4J-linux tool in this way:

[rodolfojcj at gandalf snmp4j_tool]$ ./SNMP4J-linux -p
GET -v 3 -u userV3 udp:150.187.67.216/161
1.3.6.1.2.1.1.5.0
Request timed out.

[rodolfojcj at gandalf snmp4j_tool]$ ./SNMP4J-linux -e
123456789000000000000000 -p GET -u userV3 -v 3
udp:150.187.67.216/161 1.3.6.1.2.1.1.5.0
Request timed out.

That I've noticed is that when I ran the SNMP4J-linux
tool with the two above commands, the Cisco Switch was
no more reachable (via ping command) (and I actually
don't know why).

Well friends, that's all.
That I want is to test the communication with the
switch throug v3 of SNMP protocol using the SNMP4J
console tool.

Thanks a billion by your time and your answers.
Bye, best regards
Rodolfo José Castellanos Jaimes.

_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com



More information about the SNMP4J mailing list