snmp command
Use this command to enable or disable SNMPv1, SNMPv2, or SNMPv3 agent.
Syntax:
snmp [-options]
Option | Description | Values |
---|---|---|
-a3 | SNMPv3 agent | on, off |
-l | BMC location | String (limited to 47 characters). Note
|
-cn | BMC contact name | String (limited to 47 characters). Note
|
-t1 | SNMPv1 traps | on, off |
-c | SNMP community name | String (limited to 15 characters). Note
|
-ci | Community IP address/hostname 1 | Valid IP address or hostname (limited to 63 characters). Note
|
-c1iy | Community IP address/hostname y | Valid IP address or hostname (limited to 63 characters, y can range 2 or 3). Note
|
-t2 | SNMPv2 traps | on, off |
-ct | SNMPv2 trap community name | String (limited to 15 characters). Note
|
-cti | SNMPv2 trap community IP address/hostname 1 | Valid IP address or hostname (limited to 63 characters). Note
|
-ct1iy | Community IP address/hostname y | Valid IP address or hostname (limited to 63 characters, y can range 2 or 3). Note
|
-eid | SNMP engine id | String (limited 1 to 27 characters) |
-send | Send a test trap information | |
-t | SNMPv3 traps | on, off |
-t3u | Manage SNMPv3 trap user | ID is range 1 to 3 |
-tn | SNMPv3 trap user name | Valid user name |
-tauth | SNMPv3 trap authentication protocol | none, HMAC-SHA, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512 Note Default value is |
-tapw | SNMPv3 trap authentication password | Valid password |
-tpriv | SNMPv3 trap privacy protocol | none, CBC-DES, AES, AES192, AES256, AES192C, AES256C Note Default value is |
-tppw | SNMPv3 trap privacy password | Valid password |
-tix | Community IP address or host name x | Valid IP address or hostname (limited to 63 characters, x can range 1 to 3). Note
|
-del | Delete SNMPv3 trap user | ID is range 1 to 3 |
Example:
system> snmp
-a3 disabled
-t disabled
-l location
-cn contact
-t1 disabled
-c
-ci
-c1i2
-c1i3
-t2 disabled
-ct
-cti
-ct1i2
-ct1i3
-eid XCC-7DG8-1234567890
Give documentation feedback