network hostname

Configure a host name for the appliance. You can use this command to specify a fully-qualified domain name (FQDN) for the appliance, in the format <hostname>.<domainname>, if necessary.

NOTE   This command replaces the network domain command from Luna 5/6.

The host name must adhere to the following rules:

>Have a maximum length of 64 characters

>Contain only the following characters: a-z, A-Z, 0 -9 , - , _ , and .

>Not begin or end in a dot (period)

>Not have two dots (periods) immediately following each other

NOTE   If the network service has been stopped using the service stop network command, all network commands will fail.

User Privileges

Users with the following privileges can perform this command:

>Admin

>Operator

Syntax

network hostname <hostname>

Argument(s)

Description
<hostname>

Specifies the host name for the appliance.

You can specify a simple host name, or a fully-qualified domain name (FQDN), in the format <hostname>.<domainname>.

Example

[local_host] lunash:>network hostname mylunasa

Success: Hostname mylunasa set.


Command Result : 0 (Success)

[mylunasa] lunash:>