Re: a question about the definition on MIB view

"Jeffrey T. Johnson" <jjohnson@cisco.com> Fri, 03 January 1997 19:02 UTC

Received: from cnri by ietf.org id aa13905; 3 Jan 97 14:02 EST
Received: from portal.ex.tis.com by CNRI.Reston.VA.US id aa15967; 3 Jan 97 14:02 EST
Received: (from majordom@localhost) by portal.ex.tis.com (8.8.2/8.8.2) id NAA23863 for snmpv2-outgoing; Fri, 3 Jan 1997 13:40:36 -0500 (EST)
Message-ID: <32CD3D60.1DFB@cisco.com>
Date: Fri, 03 Jan 1997 09:09:52 -0800
From: "Jeffrey T. Johnson" <jjohnson@cisco.com>
Organization: cisco Systems, Inc.
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: owner-snmpv2@ex.tis.com
CC: snmpv2@tis.com
Subject: Re: a question about the definition on MIB view
References: <199701031838.KAA17087@ scut.edu.cn>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-snmpv2@ex.tis.com
Precedence: bulk

FFA0 is the correct viewMask:

ifEntry OID is 1.3.6.1.2.1.2.2.1
ifEntry.0.2 is 1.3.6.1.2.1.2.2.1.0.2
with a mask of 1 1 1 1 1 1 1 1 1 0 1
zero extended  1 1 1 1 1 1 1 1 1 0 1 0 0 0 0 0
                  F       F       A       0

hope that helps
/jeff


owner-snmpv2@ex.tis.com wrote:
> 
> Dear Mistress or Mister:
>         I'm a graduadte student from China, When study
> your writings of RFC 1445, I meet a question I can't
> understand. It's in "4.3 MIB View Configurations Table8":
> 
> Context    Type        Family Name        Family Mask
> lucy       included    system             ''H
> lucy       included    { ifEntry 0 2 }    'FFA0'H
> lucy       excluded    { ifSpeed 2 }      ''H
> ricky      included    icmp               ''H
> ricky      included    { ifEntry 0 5 }    'FFA0'H
> ricky      included    { ifInOctets 4 }   ''H
>              Table 8: More Elaborate View Definitions
> 
> I have checked the ifEntry subtree, it's the tenth one.
> if I havn't missed your meaning of "{ifEntry 0 2}" in the
> second entry of Table 8, the 'ifEntry' should correspond
> to the mask bit '1', followed it, '0' means "wild card",so
> it should correspong to the mask bit '0', at last, '2' means
> the second interface and should correspond to the bit '1',
> that is, "101" should be the mask of "ifEntry 0 2".
> since the ifEntry is the tenth one from the root of the MIB,
> the mask for "{ifEntry 0 2}" should be "1111,1111,1101,0000"B
> or "FFD0"H, but not "FFA0"H. The same problem occurs in the
> fifth entry of Table 8.
> 
>         My question May be naive, or the problem is in my
> wrong understand about "Family Name" and "Family Mask",please
> point out the key for me, thank you.
> 
>                                 yours sincerely
>                                 kaler Wang
>                                 1996.12.26
> -----------------------------------------------------------------
> Address  :   Radio Dept. of South China University of Technology,
>              Wushan, Guangzhou 510641, P.R.China
> Telephone:   +86-(20)8711-0018
> Fax      :   +86-(20)8711-0019
> E-mail   :   wangqy@scut.edu.cn
> WWW      :   http://letterbox.scut.edu.cn/~wangqy
> -----------------------------------------------------------------