When you use the object identifiers in a command syntax, you must include the ENTITY-MIB MIB name. For example, using the V2c protocol:
$ command -v2c -c public mc_IP ENTITY-MIB::object_id argument
Or using the V3 protocol:
$ command -v3 -u snmp_user -l security_level -a authentication_protocol -A authentication_password -x DES -X privacy_password mc_IP ENTITY-MIB::object_id argument
where:
command is the command of the SNMP client that performs the action.
snmp_user is a configured user of the SNMP services.
security_level is:
authNoPriv – There is authentication, but no privacy.
authPriv – There is authentication and privacy.
authentication_protocol is either MD5 or SHA.
authentication_password is the snmp_user's authentication password.
privacy_password is the snmp_user's privacy password.
mc_IP is the IP address of the SP.
object_id is the object identifier, as listed in the right column of the tables.
argument is a combination of options and variables that support the object identifier.
For example, to securely display the description of physical entity 4 on the SP with IP address of 123.45.67.89, type:
$ snmpget -v3 -u usersnmp -l authPriv -a MD5 -A authpass -x DES -X privpass 123.45.67.89 ENTITY-MIB::entPhysicalDescr.4