SP Delete SNMP Destination Subcommand

access: Administrators, Managers

Deletes a single SNMP destination (either IP address or hostname):

sp delete snmp-destination {IP ADDRESS/HOSTNAME | {-a | --all}} [-q | --quiet]

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.

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_InvalidArgument 4 One or more arguments were incorrect or invalid. IP address/hostname is invalid.
NWSE_NotFound 5 IP address/hostname was not found.
NWSE_NoPermission 6 Not authorized to perform this operation.
NWSE_NoMemory 8 Insufficient memory.
NWSE_RPCConnRefused 12 RPC connection refused.
NWSE_UnknownError 15 Miscellaneous error not captured by other errors.
NWSE_FileError 18 File open, missing, or read or write error occurred.

 

Related Topics

System Management Commands

SP Command