snmp command
Use this command to display and configure SNMP interface information.
Running the snmp command with no options displays all SNMP interface information. The following table shows the arguments for the options.
Option | Description | Values |
---|---|---|
-a3 | SNMPv3 agent | on, off Note To enable the SNMPv3 agent, the following criteria must be met:
|
-t1 | SNMPv1 traps | on, off |
-t2 | SNMPv2 traps | on, off |
-t | SNMPv3 traps | on, off |
-l | IMM location | String (limited to 47 characters). Note
|
-cn | IMM contact name | String (limited to 47 characters). Note
|
-c | SNMP community name | String (limited to 15 characters). Note
|
-ct | SNMPv2 trap community name | String (limited to 15 characters). Note
|
-ci | SNMP community IP address/host name | Valid IP address or hostname (limited to 63 characters). Note
|
-cti | SNMPv2 trap community IP address/hostname | Valid IP address or hostname (limited to 63 characters). Note
|
-eid | SNMP engine id | String (limited 1 to 27 characters) |
Syntax:
snmp [options]
option:
-a3 state
-t state
-l location
-cn contact_name
-t1 state
-c community name
-ci community IP address/hostname
-t2 state
-ct community name
-cti community IP address/hostname
-eid engine id
Example:
system> snmp
-t enabled
-a3 enabled
-l ZhangjiangMansion
-cn Kelvin
-t1 enabled
-c community1
-ci host1
-t2 enabled
-ct community2
-cti host2
-eid XCC-7Z70-DSYM09X
system>
Give documentation feedback