OBJECT-IDENTIFIER (not OBJECT IDENTIFIER)

OBJECT-IDENTIFIER (not OBJECT IDENTIFIER)

Post by Alex Vinoku » Tue, 16 Jan 2001 01:00:43



I am using MG-SOFT MIB Browser (Professional Edition 6.10.0.3633).

Here are properties of three nodes (via the Browser):
   1) <prefix>.mib-2.system               // non-terminal node
   2) <prefix>.mib-2.system.sysObjectID   // terminal node
   3) <prefix>.mib-2.system.sysContact    // terminal node

############## PROPERTIES : BEGIN #############
=== Properties : 'system' =====================
Name:              system
Type:              OBJECT-IDENTIFIER
OID:               1.3.6.1.2.1.1
Full path:         iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2
(1).system(1)
Module:            RFC1213-MIB

Parent:            mib-2
First child:       sysDescr
Next sibling:      interfaces

=== Properties : 'sysObjectID' ================
Name:              sysObjectID
Type:              OBJECT-TYPE
OID:               1.3.6.1.2.1.1.2
Full path:         iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2
(1).system(1).sysObjectID(2)
Module:            RFC1213-MIB

Parent:            system
Prev sibling:      sysDescr
Next sibling:      sysUpTime

Numerical syntax:  Object Identifier
Base syntax:       OBJECT IDENTIFIER
Composed syntax:   OBJECT IDENTIFIER
Status:            mandatory
Max access:        read-only

Description:       The vendor's authoritative identification of the
        network management subsystem contained in the
        entity.  This value is allocated within the SMI
        enterprises subtree (1.3.6.1.4.1) and provides an
        easy and unambiguous means for determining `what
        kind of box' is being managed.  For example, if
        vendor `Flintstones, Inc.' was assigned the
        subtree 1.3.6.1.4.1.4242, it could assign the
        identifier 1.3.6.1.4.1.4242.1.1 to its `Fred
        Router'.

============ Properties : 'sysContact' ========
Name:              sysContact
Type:              OBJECT-TYPE
OID:               1.3.6.1.2.1.1.4
Full path:         iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2
(1).system(1).sysContact(4)
Module:            RFC1213-MIB

Parent:            system
Prev sibling:      sysUpTime
Next sibling:      sysName

Numerical syntax:  Octets
Base syntax:       OCTET STRING
Composed syntax:   DisplayString
Status:            mandatory
Max access:        read-write
Size list:         1: 0..255

Description:       The textual identification of the contact person
        for this managed node, together with information
        on how to contact this person.

############## PROPERTIES : BEGIN #############

Type of 'sysObjectID' (non-terminal node) is OBJECT-TYPE
Type of 'sysContact'  (non-terminal node) is OBJECT-TYPE
Type of 'system'      (terminal node)     is OBJECT-IDENTIFIER (not
OBJECT IDENTIFIER)

OBJECT-TYPE is construct.
However, I didn't find construct OBJECT-IDENTIFIER.
Note. It seems that OBJECT-IDENTIFIER (with hyphen)
      has nothing to do with datatype OBJECT IDENTIFIER (with space)
      using in syntax.

What OBJECT-IDENTIFIER is?
Is there any definition of OBJECT-IDENTIFIER : in ASN.1 ? in SNMP
documents?

   Thanks in advance,

--
=======================
Alex Vinokur
http://go.to/alexv_math
=======================

Sent via Deja.com
http://www.deja.com/

 
 
 

OBJECT-IDENTIFIER (not OBJECT IDENTIFIER)

Post by Olivier Miakine » Tue, 16 Jan 2001 20:34:37



> I am using MG-SOFT MIB Browser (Professional Edition 6.10.0.3633).

[...]

> Note. It seems that OBJECT-IDENTIFIER (with hyphen)
>       has nothing to do with datatype OBJECT IDENTIFIER (with space)
>       using in syntax.

My opinion is that your browser names "OBJECT-IDENTIFIER" any
OBJECT IDENTIFIER which has no other characterization (i.e.
which is not an OBJECT-TYPE).

--
Halte aux abus du mail : <http://marc.herbert.free.fr/mail/>
Mais aussi: <http://www.cict.fr/net/ErreursMel.html>
Au fait, merci de ne pas doubler par mail une rponse faite dans les
news, et evitez de m'envoyer des fichiers en formats propritaires.

 
 
 

1. OBJECT IDENTIFIER vs OBJECT-IDENITY

I'm writing an SMIv2 MIB and I'm a little confused as to the difference
between OBJECT IDENTIFIER and OBJECT-IDENITY. The Perkins/McGinnis book
seems to imply that I should use the SMIv2 OBJECT-IDENITY construct, but
indicates that the OBJECT IDENTIFIER is also supported in SMIv2. It says
that the OBJECT-IDENITY is "used to assign an OID value to an
identifier" and that is also "registers the OID value" whereas the
OBJECT IDENTIFIER type is used to "uniquely identify an item that has an
assigned object identifer value".

Question: When should I use OBJECT-IDENTITY vs OBJECT IDENTIFIER?

In the Perkins book, chapter 3 (3.11 to be exact), there is an example
where both constructs are used for the same OID. What's the value of
that?

Thanks,
Jim

2. Help, SMARTDRV, DOS 50,62, Win30,31, Floppy I/O errors

3. Objects and Object Identifiers (OID)

4. Help!!!!can not read mail outside a proxy server throu browers

5. Table & Scaler Object sharing the same OBJECT IDENTIFIER

6. sending E-Mail from application ????

7. ISO Object Identifier for zlib

8. Memory-mapped ET4000?

9. DESCRIPTION clause and OBJECT IDENTIFIER

10. Object Identifier length restriction affecting MIB table index.

11. MIB object identifier numbers

12. OBJECT IDENTIFIER in Table Entry