Requests or modifies values of Management Information Base (MIB) variables managed by a Simple Network Management Protocol (SNMP) agent.
snmp_info [-mode get | next] [-verbose] [-com Community] [-debug Level] [-host HostName] [-file ObjectFile] -retry Tries] [-waitWaitTime ] [Variable Instance]
The following syntax is for the set option:
snmp_info -mode set [-verbose] [-com Community] [-debug Level] [-host HostName] [-file ObjectFile] -retry Tries] [-waitWaitTime ] Variable Instance=Value
The following syntax is for the dump option:
snmp_info -mode dump[-verbose] [-com Community] [-debug Level] [-host HostName] [-file ObjectFile] -retry Tries] [-waitWaitTime ] [Variable Instance]
The snmp_info command requests or modifies values for one or more Management Information Base (MIB) variables managed by a Simple Network Management Protocol (SNMP) agent. This command may only be issued by a user with root privileges or by a member of the system group.
If you specify the get option, the snmp_info command requests information about one or more MIB variables from an SNMP agent.
If you specify the next option, the snmp_info command requests information from an SNMP agent about the instances following the specified instances. The next option makes it possible to obtain MIB values without knowledge of the instance qualifiers.
If you specify the set option, the snmp_info command modifies values for one or more MIB variables for an SNMP agent. Only a few MIB variables are designated read-write. The agent that manages the MIB database may take various actions as a side effect of modifying MIB variables. For example, setting the ifAdminStatus MIB variable to 2 will normally shut down a network interface. The action taken is determined by the implementation of the SNMP agent that manages the database.
If you specify the dump option, the snmp_info command can be used to traverse the entire MIB tree of a given agent. If a group is passed in as the Variable parameter, the snmp_info command will traverse that specified path of the MIB tree.
The snmp_info command has a debug facility that will dump debug information for transmitted and received packets. The facility is enabled with the -d flag.
For further information, consult RFC 1213, which defines the Management Information Base (MIB) for network management, and RFC 1157, which defines the SNMP protocol for creating requests for MIB information and formatting responses.
snmp_info -mode dump system