Qtech QSW-2900-24T4-AC [41/209] Configure user

2-39
groupname means group name, which ranges from 1 to 32 characters, excluding space.
Readview is a view name, which means the right to read in the view. If the keyword is vacant, it is default not
to include readable view.
Writeview is a view name, which means the right to read and write in the view. If the keyword is vacant, it is
default not to include readable and writable view.
Notifyview is a view name, which means the right to send notification in the view. If the keyword is vacant, it
is default not to include notify sending view.
Context-name is facility context. If the keyword is vacant, it is default to be local facility.
For example:
! Add group group1 to local facility, using security model 1, and configure read, write, and notify view to be
internet
QTECH(config)# snmp-server group group1 1 read internet write internet notify Internet
! Remove group group1 from local facility
QTECH(config)# no snmp-server group group1 1
! Display current group configuration.
QTECH(config)# show snmp group
2.9.10 Configure user
Use this configuration to configure user for local engine and recognizable remote engine. Following users are
default to exist: (1)initialmd5(required md5 authentication), (2) initialsha(required sha authentication), (3)
initialnone(non- authentication). The above three users are reserved for system not for user. The engine the user
belonged to must be recognizable. When deleting recognizable engine, contained users are all deleted. At most 64
users can be configured. Configure it in global configuration mode:
snmp-server user username groupname [ remote host [ udp-port port ] ] [ auth { md5 | sha }
{ authpassword { encrypt-authpassword authpassword | authpassword } | authkey { encrypt-authkey
authkey | authkey } } [ priv des { privpassword { encrypt-privpassword privpassword | privpassword }
| privkey { encrypt-privkey privkey | privkey } } ]
no snmp-server user username [ remote host [ udp-port port ] ]
Display configured user in any configuration mode:
show snmp user
Username is the username to be configured. It ranges from 1 to 32 characters, excluding space.
Groupname is the groupname that user going to be added. It ranges from 1 to 32 characters, excluding space.
Host is remote engine ip address. If it is vacant, it is default to be local engine.
Port is the port number of remote engine. If it is vacant, it is default to be 162.
Authpassword is authentication password. Unencrypted password ranges from 1 to 32 characters. To avoid
disclosing, this password should be encrypted. To configured encrypted password needs client-side which supports
encryption to encrypt password, and use encrypted cryptograph to do the configuration. Cryptograph is different by
different encryption. Input cryptograph in the form of hexadecimal system, such as
“a20102b32123c45508f91232a4d47a5c
Privpassword is encryption password. Unencrypted password ranges from 1 to 32 characters. To avoid
disclosing, this password should be encrypted. To configured encrypted password needs client-side which supports
encryption to encrypt password, and use encrypted cryptograph to do the configuration. Cryptograph is different by
different encryption. Input cryptograph in the form of hexadecimal system, such as
“a20102b32123c45508f91232a4d47a5c
Authkey is authentication key. Unauthenticated key is in the range of 16 byte (using md5 key folding) or 20

Содержание

Скачать