
SP Delete SNMP Destination Subcommand
Description: Deletes a single SNMP destination (either IP address or host name).
Format
Command format:
sp delete
TABLE H-78 lists the arguments for this subcommand.
TABLE
ArgumentsDescription
IP ADDRESS/HOSTNAME Specifies the IP address or hostname of the destination to remove. This argument is repeatable to remove multiple destinations at one time.
Removes all SNMP destinations. | |||
If the SNMP destination to delete is not found, this argument | |||
|
|
| specifies that no error be returned. |
|
|
|
|
Return Codes
TABLE H-79 lists the return codes for this subcommand.
TABLE
Return Code | ID | 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_InvalidArgument | 4 | One or more arguments were incorrect or invalid. |
NWSE_NotFound | 5 | Entity (user, service, file, path or other) not found. |
NWSE_NoPermission | 6 | Not authorized to perform this operation. |
NWSE_NoMemory | 8 | Insufficient memory. |
|
|
|
214 Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide • May, 2004