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 SNMP v3.
    • 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)
         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 property, type:

      -> set /SP/services/snmp v3=enabled

    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.