Newbie question about SNMP

This is a discussion on Newbie question about SNMP within the SNMP Users forums, part of the Networking and Network Related category; Hi everyone Can anyone help me to solve this problem? Im using a script to show a table with interface ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-22-2007
luisfilipept@gmail.com
 
Posts: n/a
Default Newbie question about SNMP

Hi everyone

Can anyone help me to solve this problem?
Im using a script to show a table with interface information in Cisco
Routers equipments.

When I use the command below
snmpwalk -c <community> <host> interfaces.ifTable.ifEntry.ifDescr.5

I receive the message:
no MIB objects contained under subtree

but if I type this:
snmpwalk -c <community> <host> interfaces.ifTable.ifEntry.ifDescr
the ouput is similar to this:
interfaces.ifTable.ifEntry.ifDescr.1 : DISPLAY STRING- (ascii):
Ethernet0/0
interfaces.ifTable.ifEntry.ifDescr.2 : DISPLAY STRING- (ascii): Null0
interfaces.ifTable.ifEntry.ifDescr.3 : DISPLAY STRING- (ascii): E1
0/0
interfaces.ifTable.ifEntry.ifDescr.4 : DISPLAY STRING- (ascii):
Serial0/0:0
interfaces.ifTable.ifEntry.ifDescr.5 : DISPLAY STRING- (ascii):
Loopback12

The first command only works if i use it as root, but for security
questions i must use it with another ordinary user
In the same way I need to be a root to execute the command like this
snmpwalk -c <community> <host> ifDescr.1

Can anyone tell me why is that so?

Thanks in advance
Luis

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:06 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0