Before You Begin
To modify SNMP properties in Oracle ILOM, you must have the Admin role (a) enabled.
The SNMP servicestate property is, by default, shipped from the factory enabled.
Oracle ILOM provides authentication properties for each of the following SNMP protocol versions: v2c, and v3.
For SNMP v2c, Oracle ILOM provides the public and private targets within the communities target for managing user authentication.
For SNMP v3, Oracle ILOM provides a users target for managing user authentication. The SNMPv3 users target is not shipped from the factory with pre-packaged values for users.
To set the SNMP service state, properties, follow these steps:
-> show /SP/services/snmp
The following SNMP output appears.
-> show /SP/services/snmp /SP/services/snmp Targets: communities mibs users Properties: engineid = none port = 161 servicestate = (enabled) v2c = disabled v3 = enabled Commands: cd set show
To enable SNMP with read-only access, type:
-> set /SP/services/snmp servicestate=enabled
To enable the SNMP protocol version (v2c or v3) property, type:
-> set /SP/services/snmp v#=enabled
where # is the SNMP protocol version you want to enable.
For more information about SNMP user accounts and read and write access, see Managing SNMP User Accounts and Communities.
To create a user account for authorization and provide read and write access, type:
-> create /SP/services/snmp/users/<useraccountname> authenticationpassword=password
For more information about SNMP user accounts and read and write access, see Managing SNMP User Accounts and Communities.