snmp enable
Description of Command Function
Enables the SNMP functionality.
Command Syntax
snmp enable [version {1|2|3}] [engine-id <engine-id>] [allownonv3request
<yes|no>]
Command Authority
Administrator
Command Object Requirements
Not applicable – no objects exist within this command.
Command Parameter Requirements
• version – This is a mandatory parameter which implies which SNMP version the user wants
to set. The parameter consists of the text version followed by a value of 1, 2, or 3.
• engine-id – This optional parameter can be provided during version 3 configuration.
• allownonv3request – This optional parameter can be provided during version 3 configuration.
If the value is “yes,” versions 1 and 2 will be supported along with version 3. If the value is
“no,” only version 3 will be supported. If this parameter is not included in the command entry,
only version 3 will be supported.
Requirements for Command Execution
The command entry must conform to the command syntax.
Successful Command Output
Upon successful entry of the command, the SNMP function is enabled and the following is displayed:
Command Successful, snmp enabled for version X, where X is the version number
defined in the command entry.
Command Operation during Abnormal Conditions
• If any of the command elements (snmp, enable) are misspelled, the following is displayed:
element: command not found
• If the command does not conform to the required syntax, the following is displayed:
Command Failed - the command does not conform to the required syntax,
snmp enable [version {1 | 2 | 3}]
[allownonv3request {yes | no}]
[engine-id <engine_id_name>]
Description:
This command enables the snmp functionality.
[version] - agent snmp version (default version 1).
[allownonv3request] - allow agent to process non-v3 get requests(default no).
[engine-id] - engine id of agent.
Examples:
snmp enable
- enables snmp version 1.
snmp enable version 3 allownonv3request yes
- enables snmp version 3
Example
# snmp enabled version 2
Command Successful, snmp enabled for version 2
92 Alphabetical List of Commands and Details
Comentarios a estos manuales