access: Administrators, Managers
This command enables you to set the community name to be used by the Service Processor, itself, as opposed to the proxy community string that is used between the Service Processor and the platform.
There are no restructions on the length of the community string. Typical names are "private" and "public." The factory default name of the community string is "public," so if you run the command sp get snmp community before you set a value, "public" is returned. Set the value to any string without spaces.
sp set snmp community COMMUNITY STRING
| Argument | Description |
|---|---|
| COMMUNITY STRING | Specifies the name of the community to configure. |
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_RPCNotConnected | 3 | Unable to connect to the RPC server. |