LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   snmpwalk v3 don't bring less information then v1/v2c (https://www.linuxquestions.org/questions/linux-newbie-8/snmpwalk-v3-dont-bring-less-information-then-v1-v2c-4175476492/)

PoleStar 09-09-2013 11:03 AM

snmpwalk v3 don't bring less information then v1/v2c
 
So when whe do

>snmpwalk -v2c -c <string> <1p>


on router we get all the details.

When we use snmpwalk -v3 we only get some sort of high level review.
or at most I could see these things::

sysDescr 1.3.6.1.2.1.1.1 OBJECT-TYPE
sysObjectID sysObjectID 1.3.6.1.2.1.1.2 OBJECT-TYPE
sysUpTime sysUpTime 1.3.6.1.2.1.1.3 OBJECT-TYPE
sysContact sysContact 1.3.6.1.2.1.1.4 OBJECT-TYPE
sysysNamesName sysName 1.3.6.1.2.1.1.5 OBJECT-TYPE
sysLocation sysLocation 1.3.6.1.2.1.1.6 OBJECT-TYPE
sysServices sysServices 1.3.6.1.2.1.1.7 OBJECT-TYPE


by using their name, eg sysObjectID or sysName.


If I give one of the oid i get from v2c for example speed of an interface, as an argument to snmpget v3, v3 don't recongnze it and bring back error

" IF-MIB::ifType.239 = No more variables left in this MIB View (It is past the end of the MIB tree)
"

Habitual 09-10-2013 06:23 AM

check and/or post the snmpd.conf file on the target host.


All times are GMT -5. The time now is 02:26 PM.