Manage DNS Name Server Settings (SNMP)
Note -
You can use the get and set commands to view and configure DNS name server settings. For a description of the MIB objects used in these commands, see the SUN-ILOM-CONTROL-MIB.
-
Log in to a host that has an SNMP tool and the Oracle ILOM MIBs installed. For example, type:
ssh username@snmp_manager_ipaddress
Password: password
-
Refer to the following SNMP command examples:
-
To view and specify the name server for DNS, type:
% snmpget SNMP_agent
ilomCtrlDNSNameServers.0
% snmpset SNMP_agent
ilomCtrlDNSNameServers.0 s ???nameservername'
-
To view and specify the search path for DNS, type:
% snmpget SNMP_agent
ilomCtrlDNSSearchPath.0
% snmpset SNMP_agent
ilomCtrlDNSSearchPath.0 s ???searchpath'
-
To view state of DHCP autodns for DNS, type:
% snmpget SNMP_agent ilomCtrlDNSdhcpAutoDns.0
-
To set the state of DHCP autodns for DNS to enabled, type:
% snmpset SNMP_agent ilomCtrlDNSdhcpAutoDns.0 i 1
-
To view the number of seconds to wait before timing out if the server does not respond, type:
% snmpget SNMP_agent ilomCtrlDNSTimeout.0
-
To set the number of seconds to wait before timing out if the server does not respond to 5, type:
% snmpset SNMP_agent ilomCtrlDNSTimeout.0 i 5
-
To view the number of times a request is attempted again after a time-out, type:
% snmpget SNMP_agent ilomCtrlDNSRetries.0
-
To set the number of times a request is attempted again after a time-out to 5, type:
% snmpset SNMP_agent ilomCtrlDNSRetries.0 i 5