Return Codes

TABLE H-19lists the return codes for this subcommand.

TABLE H-19Return Codes for Subcommand sp get hostname

Return Code

ID

Description

 

 

 

NWSE_Success

0

Command successfully completed.

NWSE_InvalidUsage

1

Invalid usage: bad parameter usage, conflicting

 

 

options specified.

NWSE_NoMemory

8

Insufficient memory.

NWSE_Busy

9

Device or resource is busy.

NWSE_RPCConnected

11

RPC client already connected.

NWSE_RPCConnRefused

12

RPC connection refused.

NWSE_NoRouteToHost

13

No route to host (network down).

NWSE_HostDown

14

Host is down.

 

 

 

SP Set Hostname Subcommand

Description: Resets the host name or domain name of the SP to the specified name. This name is used by many of the networking programs to identify the machine.

Format

Command format:

sp set hostname HOSTNAME

TABLE H-20lists the argument for this subcommand.

TABLE H-20Argument for Subcommand sp set hostname

ArgumentDescription

HOSTNAME

Specifies the name of the host to set.

172 Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide • May, 2004

Page 194
Image 194
Sun Microsystems V20Z, V40z manual SP Set Hostname Subcommand, Table H-19lists the return codes for this subcommand