Re: view OID mask?

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 20/09/06, Leo Lei <[email protected]> wrote:
> for the sub-identifier ifTable.1,   i think we can set the corresponding mask bit to 1(exact match)
> or 0(wildcard), cause it's the only mib node for administrative purpose under ifTable.
>
> so i get 0xff:a0 or 0xff:20
> 1 1 1 1 1 1 1 1 1 0 1 0 0 0 0 0   = 0xff:a0
> 1 1 1 1 1 1 1 1 0 0 1 0 0 0 0 0   = 0xff:20

OK - I see what you mean.  Yes, you could do that.
It's somewhat counter-intuitive, completely unnecessary and likely to
cause confusion,
but it should work.

By the same argument, you could probably omit most of the high-end
mask bits as well,
since all management information tends to be sited under .1.3.6.1 etc
But I wouldn't advise doing that either.

I am a Bear of Very Little Brain, and Prefer to Keep Things Simple.   :-)

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.