THE SNMP TOOLS SCREEN
7-4
7.2 GETTING AND SETTING VARIABLES
To get a variable:
1. Highlight GET and press Enter (or press F6). “<GET> OID (=|F9)”
will appear.
2. Enter the variable’s OID either by:
A. Typing the full OID string in the <GET> OID field.
B. Typing the part of the OID that occurs after the prepend listed
above, and then pressing Enter (e.g., typing 4.1.3 in the <GET>
OID field, with an existing prepend of 1.3.6.1, would get the
complete OID string of 1.3.6.1.4.1.3).
C. Note that if you type ‘=’ and then type in an OID string, the
prepend will be ignored (e.g., if you enter =4.1.3 in the <GET>
OID field, a get would be issued for the OID string 4.1.3).
D. Pressing F9 to recall the last OID entered into the <GET> OID
field, and then using the keyboard to modify that OID.
3. Press Enter. If that variable is not supported by the
TRMM/TRMMIM’s MIBs, the message “MIB_NO_INSTANCE”
will be returned; otherwise, information displays for that variable’s
data type, length, and value. Refer to Figure 7-2 for sample data from
a GET operation (internet -> mgmt -> mib-2 -> system -> sysDescr).
Note that the information contained in the sample would display
similarly for GETNEXT or STEP operations.
Figure 7-2. Sample Output from a GET, GETNEXT, or STEP Operation
To get the next variable:
1. Highlight GETNEXT and press Enter (or press F8). “<GETNEXT>
OID (=|F9)” appears.
ACCESSED OID: 1.3.6.1.2.1.1.1.
ASCII_LABEL: N/A
DATA TYPE: 0
X
2 {STR}
DATA LENGTH: 32
DECODED DATA: CABLETRON TRMM Revision 3.00.5
Содержание TRMM
Страница 1: ...TRMM TRMMIM LOCAL MANAGEMENT USER S GUIDE ...