
Introduction
308656-14.00 Rev 00
1-17
When entering a get command, you can use an asterisk (*) in place of an attribute
to display all of the attribute values of an instance. For example, the following
command displays the value of each attribute of the instance 10.1 (slot 10,
connector 1).
$ get wfCSMACDEntry.*.10.1
wfCSMACDEntry.wfCSMACDDelete.10.1 = 1
wfCSMACDEntry.wfCSMACDEnable.10.1 = 1
wfCSMACDEntry.wfCSMACDState.10.1 = 1
wfCSMACDEntry.wfCSMACDSlot.10.1 = 10
wfCSMACDEntry.wfCSMACDConnector.10.1 = 1
wfCSMACDEntry.wfCSMACDCct.10.1 = 19
You can also use an asterisk in place of the instance in a get command to display
all of the values of a single attribute. For example, the following command
displays the wfCSMACDState of all of the instances. The specification of the
wfCSMACDState attribute in the csmacd.mib file states that 1 means up and 2
means down. Note that you can use this method to display all instances without
having to enter the
list instances
<object>
command.
get wfCSMACDEntry.3.*
wfCSMACDEntry.wfCSMACDState.1.1 = 1
wfCSMACDEntry.wfCSMACDState.1.2 = 2
wfCSMACDEntry.wfCSMACDState.10.1 = 1
wfCSMACDEntry.wfCSMACDState.10.2 = 1
You can use the complete MIB number in place of the
<object>
.
<attribute>
specification. The parameter descriptions in the configuration manuals list the
MIB number for this reason. SNMP commands also use this syntax.
If you enter a
get command and the message
object does not exist
appears, do
the following:
1.
Check the spelling and case of the object name.
2.
Configure and enable the object.
See Using Technician Interface Software for detailed instructions on how to use
the Technician Interface to display and change the values in the MIB.
Note:
You can use an asterisk in place of the attribute or instance in a get
command, but you cannot use an asterisk in place of both.
Komentarze do niniejszej Instrukcji