Sun Microsystems V40Z Server User Manual


 
214 Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide May, 2004
SP Delete SNMP Destination Subcommand
Description: Deletes a single SNMP destination (either IP address or host name).
Format
Command format:
sp delete snmp-destination { IP_ADDRESS/HOSTNAME | {-a | --all}
[-q | --quiet]
TABLE H-78 lists the arguments for this subcommand.
Return Codes
TABLE H-79 lists the return codes for this subcommand.
TABLE H-78 Arguments for Subcommand sp delete snmp-destination
Arguments Description
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.
[-a | --all] Removes all SNMP destinations.
[-q | --quiet] If the SNMP destination to delete is not found, this argument
specifies that no error be returned.
TABLE H-79 Return Codes for Subcommand sp delete snmp-destination
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.