HP iLO 4 Scripting and Command Line Guide
Table 9 SNMP Command Properties (continued)
DescriptionAccessProperty
Determines if the LOM device responds to anonymous XML queries.
Enable or disable valid selections.
Read/Writeoemhp_imdatalevel
Displays or modifies the SNMP Agentless Management. Valid values
are 'yes', or 'no'. If Agentless Management is disabled, SNMP passthru
will be enabled.
Read/Writeoemhp_agentlessenable
Displays or modifies SNMP System Location for when Agentless
Management is enabled.
Read/Writeoemhp_systemlocation
Displays or modifies SNMP System Contact for when Agentless
Management is enabled.
Read/Writeoemhp_systemcontact
Displays or modifies SNMP System Role information for when Agentless
Management is enabled.
Read/Writeoemhp_systemrole
Displays or modifies SNMP System Role detail for when Agentless
Management is enabled, where <n> can be from 1 to 5. The property
Read/Writeoemhp_systemroledetail<n>
value is limited to 512 characters total for all five SNMP System Role
details. For oemhp_systemroledetail1 to 4, the value is limited to 100
characters, but oemhp_systemroledetail5 is limited to 112 characters.
For multi-line values, spaces are added to previous lines to meet the 100
character limit if a subsequent line has information provided.
Displays or modifies the SNMP Cold Start Trap Broadcast. Valid values
are yes, or no.
Read/Writeoemhp_coldstarttrap
Displays or modifies the SNMP trap source setting. Valid values are
ilo, or os.
Read/Writeoemhp_trapsource
• Verbs
◦ cd
◦ version
◦ exit
◦ show
◦ set
For example
The following commands set various SNMP properties:
• set /map1/snmp1 accessinfo1=192.168.0.50 oemhp_imdatalevel=Enabled
• set readcom1="public1"
• set trapcom1="trapcomm1"
• set oemhp_systemlocation="HP Data Center, Hockley, TX"
• set oemhp_systemcontact="Mr. System Administrator"
• set oemhp_systemrole="Brief Role Description [60 characters]"
• set oemhp_systemroledetail1="Extended role description [100
characters]"
• Showing multiple lines for oemhp_systemroledetail:
set oemhp_systemroledetail2="Extended role description"◦
◦ show - Existing string in detail1 has spaces added to meet 100 char limit.
48 SMASH CLP Scripting Language










