Re: Convert a BITS datatypes string representation back to bit (e.g. int)

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 18 June 2010 09:25, Boris Zweimueller <[email protected]> wrote:
> I'm looking for a way to convert the BITS datatypes string representation
> back to an int

Try the option '-Ov'   (or '-Ov -Oe')
This will display the bit string value as a hex value,
as well as listing the individual bits that are set
(with or without their names)

Alternatively '-Ov -Oq' will display a string
that containes the hex value (only)

Those are the cleanest representations that I can come up with

Dave

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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
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.