Go to main content

Oracle® ILOM Protocol Management Reference SNMP and IPMI Firmware Release 4.0.x

Exit Print View

Updated: August 2017
 
 

Set SNMP Access and Authorization

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:

  1. Log in to the Oracle ILOM CLI.
  2. To view the Oracle ILOM SNMP properties, type:

    -> 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
    
  3. Use the set command to change any of the SNMP properties, for example:
    • 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.

  4. Use the create command to create an SNMP v3 user account, for example:
    • 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.