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-78lists the arguments for this subcommand.

TABLE H-78Arguments for Subcommand sp delete snmp-destination

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.

[-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

TABLE H-79lists the return codes for this subcommand.

TABLE H-79Return 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.

 

 

 

214 Sun Fire V20z and Sun Fire V40z Servers, Server Management Guide • May, 2004

Page 236
Image 236
Sun Microsystems V20Z, V40z manual SP Delete Snmp Destination Subcommand, Table H-78lists the arguments for this subcommand