Dave Shield£º

        

======= 2006-09-20 16:50:44 =======

>The idea of the "ifRow4" view is to match any OID of the form
>    .1.3.6.1.2.1.2.2.1.x.4
>(ignoring the column subidentifier) i.e. the row with index '4'.
>
>Setting this against a bit pattern of the relevant subidentifiers gives:
>
>    .1.3.6.1.2.1.2.2.1.0.4
>     1 1 1 1 1 1 1 1 1 0 1 0 0 0 0 0   = 0xff:a0
>
>So the second octet of the mask is 0xa0
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

= = = = = = = = = = = = = = = = = = = =

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡        Leo Lei
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡        2006-09-20



-------------------------------------------------------------------------
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

Reply via email to