NET-SNMP version: 5.8 - v1/ v2 blocked, v3 works

Simon Chamlian <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <CANmTPBbOzOOQ_81pmPtDRMcG_fay5EsEtx0bgrBDHpLC_SJByA@mail.gmail.com>
Hi,

Seems like v1/v2 is blocked while v3 works fine.


*V3 works Fine*
# snmpget  -v 3 -u Simon -a MD5 -A simon123 -l authNoPriv  localhost
 NEM-DCI-MIB::nemDCISnmpTrapPort.0
NEM-DCI-MIB::nemDCISnmpTrapPort.0 = INTEGER: 162

*V1/V2 does not work*
# snmpget -v 2c -c public localhost  NEM-DCI-MIB::nemDCISnmpTrapPort.0
NEM-DCI-MIB::nemDCISnmpTrapPort.0 = No Such Object available on this agent
at this OID

# snmpget -v 1 -c public localhost  NEM-DCI-MIB::nemDCISnmpTrapPort.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: NEM-DCI-MIB::nemDCISnmpTrapPort.0


*The config file I have is:*

createUser Simon    MD5 "simon123"
rwuser     Simon
# rocommunity: a SNMPv1/SNMPv2c read-only access community name
rocommunity  public

# rwcommunity: a SNMPv1/SNMPv2c read-write access community name
rwcommunity  private


Any clues on why this is happening?

Thanks,
Simon

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.