![](/images/backgrounds/286057/hp-procurve-guest-management-software-reference-guide-66981124x1.png)
MIB examples
SNMP examples
Commands
Look in the
snmpwalk: Walks through the MIB tree from a specified OID (along the branch).
snmpget: Gets the value requested for a specified OID object
snmpset: Sets a value to a specified OID object (must be a
Note |
| Chapter 3: MIB descriptions provides a | |
|
| for each MIB object. |
|
|
| The following table shows you some options that you can specify with these commands. | |
|
| ||
|
|
|
|
|
| Option or switch | Description |
|
|
|
|
|
| Indicates that “snmp version 2c", should always be specified when | |
|
|
| using the MIBs. |
|
|
|
|
|
| Used to specify the community string on the HP product (by default, | |
|
|
| this is set to public). |
|
|
|
|
|
| Indicates that you want to use or refer to ALL the MIBs located at | |
|
|
| $MIBDIRS. |
|
|
|
|
|
| Allows you to specify another location for your MIBs. | |
|
|
|
|
|
| Causes the SNMP response to only show the OID name and not the | |
|
|
| whole path. |
|
|
|
|
|
| Causes the SNMP response to show the OID numeric value, not the | |
|
|
| descriptive name. |
|
|
|
|
|
| i | Integer switch used to indicate whether the following value will be a |
|
|
| "1" or a "0". |
|
|
|
|
|
| o | String switch used to indicate whether the following value will be a |
|
|
| string. |
|
|
|
|
|
| u | Numeric switch used to indicate whether the following value will be |
|
|
| a numeric. |
|
|
|
|