# SP Set Locatelight Subcommand

access: All users

Sets the state of the locatelight switch (which describes the state of the front and rear panel identification lights).

> sp set locatelight {BLINK | OFF}

Argument | Description
--- | ---
{BLINK | OFF} | Specifies the state of the locatelight switch.

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_RPCTimeout | 2 | Request was issued, but was not serviced by the server. RPC procedure timed out and the request may or may not have been serviced by the server.
NWSE_RPCNotConnected | 3 | Unable to connect to the RPC server.
NWSE_NoPermission | 6 | Not authorized to perform this operation.

Related Topics

System Management Commands

SP Command