This is a discussion on Re: error in getting mpls object within the SNMP Users forums, part of the Networking and Network Related category; > On Wed, 2005-04-13 at 12:38, Farazad Farhadzadeh wrote: > > Hi Dave, > > i do ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
> On Wed, 2005-04-13 at 12:38, Farazad Farhadzadeh wrote: > > Hi Dave, > > i do all of steps > > 1)copy MPLS-LSR-MIB to /usr/local/share/snmp/mibs/ > > 2)run: export MIBS=+MPLS-LSR-MIB > > 3)run: mib2c mplsLsrMIB > > 4)copy mplsLsrMIB.c & mplsLsrMIB.h to /agent/mibgroup/ > > And did you edit these files in any way? > Or did you just copy them exactly as generated by mib2c? > i copy them exactly as generated by mib2c without any editing. > > 5)./configure --with-mib-modules="mplsLsrMIB" > > 6)./make > > 7)./make install > > > > and then run ./snmpd finally i run this command: > > ./snmpget -c public xxx.xxx.xxx.xxx 1.3.6.1.3.96.1.6.1.1 > > Where does that OID come from? from mib compiler in windows and i use snmptraslate for this id and this was correct. > The root of MPLS-LSR-MIB seems to be somewhere under > mib2.transmission. You might do better to work with > MPLS-LSR-STD-MIB (RFC 3813), which is rooted at > .1.3.6.1.2.1.10.166.2 > > > > but the agent doesnt response and give me an error: > > > > # snmpget -c public 10.10. 10.134 1.3.6.1.3.96.1.6.1.1 > > Error in packet > > Reason: (noSuchName) There is no such variable name in this MIB. > > Failed object: SNMPv2-SMI::experimental.96.1.6.1.1 > > What object value were you trying to retrieve? > this is mplsOutSegmentindex > Dave ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |