set

Sets a property to a specific value.

Target: map1/settings1/dnssettings1

The dnssettings1 target contains iLO 2 MP DNS settings.

Table 6-48shows dnssettings1 target properties.

Table 6-48 dnssettings1 Properties

Property Name

Description

DNSServerAddress

Contains the IP addresses of the

 

primary, secondary, and tertiary

 

DNS servers.

DomainName

iLO 2 MP domain name.

RegisterThisConnections Address

Indicates whether iLO 2 MP

 

registers with the DDNS server.

RequestedHostName

iLO 2 MP host name.

Access and Values

Read/write

This is an array property.

The value of each element of this property must be expressed in dotted decimal notation. The elements of the property are separated by commas (DNSServerAddressess=192.0.2.1, 192.0.2.2, 192.0.2.3 means that the IP addresses of the primary, secondary and tertiary DNS servers are set to 192.0.2.1, 192.0.2.2, 192.0.2.3 respectively).

Read/write

Read/write.

The following are valid values:

Yes: register with DDNS server.

No: do not register with DDNS server.

Read/write.

Verbs

 

cd

Changes the current default target.

help

Displays context-sensitive help.

show

Displays information.

set

Sets a property to a specific value.

SM CLP Network Command Examples

The following examples list specific network commands.

Determine iLO 2 MP’s MAC Address

</>hpiLO-> show -d properties=macaddress /map1/enetport1/lanendpt1

or

</>hpiLO-> show -d properties=permanentaddress /map1/enetport1/

Determine current IP Address

</>hpiLO-> show -d properties=ipv4address /map1/enetport1/lanendpt1/ipendpt1

Determine Subnet Mask

</>hpiLO-> show -d properties=subnetmask /map1/enetport1/lanendpt1/ipendpt1

Set IP Address and Subnet Mask

To modify a Static IP Address and Subnet Mask, set IPv4Address and SubnetMask properties of the ipendpt1 target:

</>hpiLO-> set /map1/enetport1/lanendpt1/ipendpt1 ipv4address=192.0.2.1 subnetmask=192.0.2.1

SMASH Server Management Command Line Protocol 141

Page 141
Image 141
HP Integrity iLO 2 MP 5991-6005 SM CLP Network Command Examples, Set, Determine current IP Address, Determine Subnet Mask