# SP Set JNET Subcommand

access: Administrators, Managers

Sets or modifies the Service Processor and platform network addresses for JNET. Because of the firewall between these drivers, you must specify both addresses at the same time.

Both the Service Processor and Platform JNET addresses must be on the same Class C subnet.

> `sp set jnet {-p | --platform} IP ADDRESS
> {-s | --sp} IP ADDRESS
> [{-c|--current} CURRENT_PLATFORM_IP_ADDRESS]`

Argument | Description
--- | ---
`{-p | --platform}` | Specifies the IP address for the platform.
`{-s | --sp}` | Specifies the IP address for the Service Processor.
`[{-c|--current}`] | Current platform IP address. Only used when the platform IP address has been changed from the platform side so that the SP does not know its current value.

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_NoPermission | 6 | Not authorized to perform this operation.
NWSE_NoMemory | 8 | Insufficient memory.
NWSE_Busy | 9 | Device or resource is busy.
NWSE_HostDown | 14 | Host is down.

Notes

- If you change the default addresses of JNET using this command and then re-install the platform operating system or reset the Service Processor via the sp reset to default settings command, you must re-issue the sp set jnet command to re-establish the JNET connection. Otherwise the connection will be out-of-sync (one address will be modified and one will be re-set to the default address.)

Related Topics

System Management Commands

SP Command