# SP Set SNMP Proxy Community Subcommand

access: Administrators, Managers

The SNMP agent on the Service Processor acts as a proxy for the master SNMP agent running on the platform. These proxy entries specify the OID to be referred, the IP to which they are referred, and the community string to use while proxying. The community string is the value configured on the platform-side SNMP configuration.

> sp set snmp proxy community COMMUNITY STRING

Argument | Description
--- | ---
COMMUNITY STRING | Specifies the name of the community to configure.

There are no restrictions on the length of the community strings; common names are private and public. The default name of the community string s private. If you run sp get snmp proxy community without setting it, private is the return value. Otherwise, you can set it to any string.

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.

Related Topics

System Management Commands

SP Command