snmp command errors

This topic lists error messages for the snmp command.

See Common errors for a list of error messages that apply to all commands.

Table 1. snmp command errors
Error message Definition
Arguments containing spaces must be enclosed in quotation marks A user tries to enter a string containing spaces that has an opening quotation mark without a closing quotation mark.
At least one configured community is required to enable SNMP. A user tries to enable SNMP without configuring at least one community name.
Config failed. IP address of 0.0.0.0 is allowed only for the first host name in the first community. A user tries to set an IP address of 0.0.0.0 for something other than the first host name of the first community.
Config failed. IP address of 0.0.0.0 is allowed only when the first community is configured as Get access type. A user tries to set an IP address of 0.0.0.0 for the first host name of the first community when the first community is not configured with the Get access type.
Config failed. You defined a community without an IP address or host name. A user tries to define a community without specifying an IP address or host name.
Config failed. You defined a duplicate community name. A user tries to define a two communities with the same name.
Enabling/Disabling snmp interface failed. An error occurs while the management module is enabling or disabling an snmp interface.
Enabling/Disabling snmp traps failed. An error occurs while the management module is enabling or disabling the snmp traps.
Enabling/Disabling SNMPv3 Agent failed. An error occurs while the management module is enabling or disabling the SNMPv3 Agent.
Input length is greater than the maximum characters allowed. A user tries to enter too many characters in an input field.
Invalid community name. A user tries to set a community name to an invalid value.
Invalid host name or ip address. A user tries to set the SNMP host name or IP address to an invalid value.
Setting access type of type for SNMPv3 failed

where type is the type of SNMPv3 access desired.

An error occurs while the management module is setting access type for an SNMPv3.
Setting location/contact of the SNMP agent failed. An error occurs while the management module is setting the location or contact of the SNMP agent.