|Skip Navigation Links|
|Exit Print View|
|Sun Datacenter InfiniBand Switch 36 HTML Document Collection for Firmware Version 2.0|
In situations where a secure exchange is required, the V3 protocol supports authentication and encryption. The V3 protocol is enabled on the management controller by default. Some of the SNMP command examples in this domain use the V3 protocol. The command format for the V3 protocol is as follows:
$ command -v3 -u snmp_user -l security_level -a authentication_protocol -A authentication_password -x DES -X privacy_password mc_IP MIB_name::object_id argument
command is one of the commands described in SNMP Commands.
snmp_user is a configured user of the SNMP services.
noAuthNoPriv – There is no authentication or privacy.
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 management controller.
MIB_name is the name of the MIB.
object_id is the object identifier.
argument is a combination of options and variables that support the object identifier.
Note - For simplification, when an SNMP command example uses the V3 protocol, the snmp_user, security_level, authentication_protocol, authentication_password, and privacy_password variables are identified as usersnmp, authPriv, MD5, authpass, and privpass respectively. You must use unique values for snmp_user, authentication_password, and privacy_password variables, specific to the SNMP users of your switch. Additionally, the management controller IP address variable mc_IP is not defined, as this is different for each switch installation.
$ snmpset -v3 -u usersnmp -l authPriv -a MD5 -A authpass -x DES -X privpass mc_IP SUN-ILOM-CONTROL-MIB::ilomCtrlTimezone.0 s "GMT"