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. See snmp command for information about command syntax and examples of command use.

Table 1. snmp command errors.

The error table is a multi-row, two-column table where each row describes a CMM CLI command error: column one lists the error reported by the command-line interface and column two describes what the error means.

Error message Definition
CMM security policy disallows SNMPv1 enable right now A user tries to enable SNMPv1 when the security policy does not allow it.
Config failed. At least one configured community is required to enable SNMPv1 agent, or if SNMPv1 agent is enabled A user tries to enable SNMPv1 without a configured community, or tries to delete a community that is required by an existing SNMPv1 agent.
Config failed. IP addresses of 0.0.0.0 and 0::0 are allowed only when the community is configed as Get or Set access type A user tries to set an IP address that is restricted by the community access type.
Config failed. System contact must be defined to enable SNMPv1 or SNMPv3 agent, or if SNMPv1 or SNMPv3 agent is enabled. A user tries to enable SNMPv1 or SNMPv3 without a defined system contact, or tries to delete a system contact that is required by an existing SNMPv1 or SNMPv3 agent.
Config failed. System location must be defined to enable SNMPv1 or SNMPv3 agent, or if SNMPv1 or SNMPv3 agent is enabled. A user tries to enable SNMPv1 or SNMPv3 without a defined system location, or tries to delete a system location that is required by an existing SNMPv1 or SNMPv3 agent.
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.
Error sanity checking of SNMPv1/v3 configuration An error occurs while checking the SNMPv1 or SNMPv3 configuration.
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.