
Accessing the MIB
114088 Rev. A 7-5
The following examples demonstrate ways to display the value of an attribute. The
attribute in these examples is named wfSnmpDisable. Its instance ID is 1. Its
object name is wfSnmp and object identifier is 1.3.6.1.4.1.18.3.5.3.5.1.
The instance ID of 0 is reserved for base record objects. Specifying the base
record instance ID in the
get command is optional. (Refer to the second example.)
The last example demonstrates how to obtain a group of values associated with an
object.
Examples:
If you enter: The console displays:
Any one of the following:
get wfSnmp.wfSnmpDisable
get wfSnmp.wfSnmpDisable.0
get 1.3.6.1.4.1.18.3.5.3.5.1.1
get 1.3.6.1.4.1.18.3.5.3.5.1.1.0
get 1.3.6.1.4.1.18.3.5.3.5.1.1.*
get wfSnmp.1.0
get wfSnmp.1.*
wfSnmp.wfSnmpDisable.0 = 1
(The object name, the base record (0),
and the value.)
Appending the base (0) to the object name
is optional when issuing a
get
command.
Likewise, appending the base (0 or *) to the
instance identifier is optional when issuing
a
get command.
get wfSnmp.*.0
wfSnmp.wfSnmpDisable.0 = 1
wfSnmp.wfSnmpUseLock.0 = 1
wfSnmp.wfSnmpLockAddress.0 = 0.0.0.0
.
.
.
get wfSnmp.*.*
get: Invalid obj.attr.inst
specified
Kommentare zu diesen Handbüchern