Справочник по сетевым протоколам


RFC1065 - часть 10


RFC 1065 SMI August 1988

declarative in nature. In contrast, an object instance is an

instantiation of an object type which has been bound to a value. For

example, the notion of an entry in a routing table might be defined

in the MIB. Such a notion corresponds to an object type; individual

entries in a particular routing table which exist at some time are

object instances of that object type.

A collection of object types is defined in the MIB. Each such

subject type is uniquely named by its OBJECT IDENTIFIER and also has

a textual name, which is its OBJECT DESCRIPTOR. The means whereby

object instances are referenced is not defined in the MIB. Reference

to object instances is achieved by a protocol-specific mechanism: it

is the responsibility of each management protocol adhering to the SMI

to define this mechanism.

An object type may be defined in the MIB such that an instance of

that object type represents an aggregation of information also

represented by instances of some number of "subordinate" object

types. For example, suppose the following object types are defined

in the MIB:

OBJECT:

-------

atIndex { atEntry 1 }

Syntax:

INTEGER

Definition:

The interface number for the physical address.

Access:

read-write.

Status:

mandatory.

OBJECT:

-------

atPhysAddress { atEntry 2 }

Syntax:

OCTET STRING

Definition:

The media-dependent physical address.

Rose & McCloghrie [Page 11]

RFC 1065 SMI August 1988

Access:

read-write.

Status:

mandatory.

OBJECT:

-------

atNetAddress { atEntry 3 }

Syntax:

NetworkAddress

Definition:

The network address corresponding to the media-dependent physical

address.

Access:

read-write.

Status:

mandatory.

Then, a fourth object type might also be defined in the MIB:

OBJECT:

-------

atEntry { atTable 1 }

Syntax:

AtEntry ::= SEQUENCE {

atIndex

INTEGER,

atPhysAddress

OCTET STRING,

atNetAddress

NetworkAddress

}

Definition:

An entry in the address translation table.

Access:




- Начало -  - Назад -  - Вперед -