access: All users
Retrieves the ethernet-based network configuration information for the Service Processor, including IP address, network mask, and gateway. In addition, it indicates whether the Service Processor is configured to use DHCP or a static IP address.
sp get ip [-H | noheader][{-D | --delim <DELIMITER>}]
| Argument | Description |
|---|---|
| { -H | --noheader } | Suppresses column headings. |
| { -D | --delim } | Delimits columns with the specified delimiter. Headings are also delimited unless suppressed. The delimiter can be any character or string. |
Return Codes
Following are the return values for this command:
| Code | Numeric Code | 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. |