config user
Description: Configure SNMP v3 user settings.
config user
edit <name>
set *name {string}
set status [enable | disable]
set notify-hosts <name1>, <name2>, …
set trap-status [enable | disable]
set trap-lport [1 – 65535]
set trap-rport [1 – 65535]
set queries [enable | disable]
set query-port [1 – 65535]
set events <name1>, <name2>, …
set security-level [no-auth-no-priv | auth-no-priv | auth-priv]
set auth-proto [md5 | sha1] *available when security level includes auth
set *auth-pwd {string} *available when security level includes auth
set priv-proto [aes | des] *available when security level includes priv
set *priv-pwd {string}*available when security level includes priv
unset
next
show
abort
end
delete <name>
purge
show
end
| Parameter | Description | Type | Size | Default | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| name | Username of the SNMP user. | string | - | none | ||||||||||||||||
| status | Status of the SNMP user configuration. | option | - | disable | ||||||||||||||||
|
|
|
|||||||||||||||||||
| notify-hosts | SNMP managers to which notifications (traps) are sent. | option | - | none | ||||||||||||||||
| trap-status | Status of the traps for the SNMP user. | option | - | disable | ||||||||||||||||
|
||||||||||||||||||||
| trap-lport | SNMPv3 trap local port. | integer | 1 - 65535 | 162 | ||||||||||||||||
| trap-rport | SNMPv3 trap remote port. | integer | 1 - 65535 | 162 | ||||||||||||||||
| queries | Status of SNMP queries for the user. | option | - | disable | ||||||||||||||||
|
query-port |
SNMPv3 query port. |
integer |
1 - 65535 |
161 |
||||||||||||||||
|
events |
SNMP trap events. |
option |
- |
none |
||||||||||||||||
|
|
|
|||||||||||||||||||
|
Security-level |
Security level for message authentication and encryption. |
option |
- |
no-auth-no-priv |
||||||||||||||||
|
|
|
|||||||||||||||||||