I didn't find a way to set bit1,bit2 with TKMIB. I can do it with snmpset, but 
with TKMIB I can only do it with one bit at a time.

For this reason, I can't use TKMIB for "unset" bits as you say.

Other point: TKMIB sends a wrong value. For example, if I set bit 0 with 
snmpset, I get  0x80. But with TKMIB I get 0x73:

with TKMIB, setting ONLY bit 0 (wrong)
MPLS-FTN-STD-MIB::mplsFTNMask.1 = BITS: 73
destAddr(1) sourcePort(2) destPort(3) 6 7

with snmpset, setting ONLY bit 0 (correct):
MPLS-FTN-STD-MIB::mplsFTNMask.1 = BITS: 80
sourceAddr(0)

Thank you,

Josdeyvi




> On Tue, 19 Jul 2005 00:51:33 -0300 jrussi wrote:
> J> 1- Is there a way to use TKMIB to set several bits in a BITS object at a
> J> time?
>
> Have you tried specifying the bits together? eg 'bit1,bit2'
>
> J> 2- Is it possible using TKMIB to "unset" a bit in a BITS object?
>
> You do that by setting all the currently set bits except the one you want to
> clear.
>
> --
> NOTE: messages sent directly to me, instead of the lists, will be deleted
>       unless they are requests for paid consulting services.
>
> Robert Story; NET-SNMP Junkie
> Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> 
> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>
>
> You are lost in a twisty maze of little standards, all different.
>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to