sethostname(8)
174 SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised June 2007
EXTENDED
DESCRIPTION
■ To reflect the host name and the DNS domain name to XSCF, execute the
applynetwork(8) command. After reflected the information, use the
rebootxscf(8) command to reset XSCF to complete the setting.
■ To enable the set host name and DNS domain name, execute the
applynetwork(8) command and reset the XSCF.
■ The currently set host name and DNS domain name of the XSCF unit can be
checked by using the shownetwork(8) command.
EXAMPLES
EXAMPLE 1 Sets the host name scf0-hostname for XSCF unit 0.
EXAMPLE 2 Sets the DNS domain name example.com for XSCF unit.
EXIT STATUS The following exit values are returned:
SEE ALSO applynetwork(8), rebootxscf(8), showhostname(8)
XSCF> sethostname xscf#0 scf0-hostname
XSCF> sethostname -d example.com
0 Successful completion.
>0 An error occurred.