
THE SNMP TOOLS SCREEN
7-5
2. Enter the OID and press Enter. If no instance of that variable exists,
you will be notified to that effect; otherwise information displays for
that variable’s data type, length, and value.
Note that you can use the OID prepend or the F9 RECALL command
key as described above.
To set a MIB variable:
1. Highlight SET and press Enter (or press F7). “<SET> OID (=|F9)”
will appear.
2. Type in the variable’s OID and press Enter. If no instance of that
variable exists, you will be informed to that effect; otherwise the
screen displays a “DATA TYPE:” field.
Note that you can use the OID prepend or the F9 RECALL command
key as previously detailed.
3. Enter the variable’s Data Type and press Enter. Possible data types
are:
The screen will then display a “DATA” field.
4. Enter the Data, or value for that variable, and press Enter. If accepted,
“<SET> OPERATION CODE: XXXX <OK>” will display on screen;
otherwise you will see an error message.
Figure 7-3 displays a sample SET operation (internet -> mgmt -> mib-2 ->
system -> sysLocation).
Figure 7-3. Sample Input for a SET Operation
•
integer
•
string
•
null
•
OID
•
IP address
•
counter
•
gauge
•
timeticks
•
opaque
<SET> OID (=|F9): 2.1.1.6.0
{INteger String Null Old IPaddress Counter Gauge Timeticks OPaque}
DATA TYPE (name): Str
Enter H(ex) or A(scii) FOR STRING TYPE: a
SNMP OID DATA: Bognor Regis
<SET> OPERATION CODE: 1 <OK>