
Introduction
308656-14.00 Rev 00
1-15
To determine the format of an instance, search for the name of the object in the
associated MIB file (<object>.mib) until the specification of the object appears.
The INDEX field describes the format of the instance associated with that object.
Example
This example shows that the slot and connector form the instance of all attributes
of the object named wfCSMACDEntry:
wfCSMACDEntry OBJECT-TYPE
SYNTAX wfCSMACDEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
" An entry in the csmacd table "
INDEX { wfCSMACDSlot,
wfCSMACDConnector }
::= { wfCSMACDTable 1 }
Use a dot (.) instead of a comma to separate the elements of an instance. Thus, you
express slot 10, connector 1 as 10.1 when using the Technician Interface to get or
change the values of attributes associated with this instance.
Example
This example shows the instances of the object wfIpInterfaceEntry. The instance
format differs from that of the object wfCSMACDEntry.
list instances wfIpInterfaceEntry
inst_ids = 1.1.1.1.100
1.1.2.1.101
1.1.3.1.102
1.1.4.1.103
1.2.1.1.2
The INDEX field in the specification of the object wfIpInterfaceEntry in the
ip.mib file shows that the instance format consists of the address of the IP
interface and the circuit number:
wfIpInterfaceEntry OBJECT-TYPE
SYNTAX wfIpInterfaceEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
" An IP interface description "
INDEX { wfIpInterfaceAddr,
wfIpInterfaceCircuit }
::= { wfIpInterfaceTable 1 }
Komentarze do niniejszej Instrukcji