# SP Test Config Subcommand

access: Administrators, Managers

Tests and validates different types of configurations that you are considering to set up on the Service Processor. For example, configurations involving event forwarding (snmp, smtp, logfiles).

Following are the available types of event configurations:

- Setting event log file (sp set logfile)
- Setting snmp trap destinations (sp add snmp destination)
- Setting smtp destinations (sp add smtp subscriber)
- Setting the mount point (sp set mount)

Rather than waiting for an event to be generated on the Service Processor to validate that these configurations work properly, you can use this command to generate test events that will be routed appropriately as per the configurations listed above.

> sp test config {-e | --events}

Return Codes

Following are the return values for this command:

Code | Description
--- | ---
NWSE_Success | Command successfully completed.
NWSE_RPCTimeout | Request was issued, but was not serviced by the server. RPC procedure timed out.
NWSE_RPCNotConnected | Unable to connect to the RPC server.
NWSE_NoMemory | Insufficient memory.
NWSE_InvalidUsage | Invalid usage: bad parameter usage, conflicting options specified.

Related Topics

System Management Commands

SP Command