TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide
189
smode —— Security Model, with v1v2c and v3 options. They represent
SNMP v1, SNMP v2c and SNMP v3.
slev —— The Security Level of SNMP v3 Group. There are three options,
including noAuthNoPrivno authorization and no encryption)、authNoPriv
authorization and no encryption and authPrivauthorization and encryption.
By default, the Security Level is noAuthNoPriv. There is no need to configure
this in SNMP v1 Model and SNMP v2c Model.
read —— Read-only view. The management access is restricted to read-only,
and changes cannot be made to the assigned SNMP View.
write —— Write-only view. The management access is writing only and
changes can be made to the assigned SNMP View. The View defined both as
the Read View and the Write View can be read and modified.
notify —— Notify view. The management station software can receive trap
messages of the assigned SNMP view generated by the Switch's SNMP agent.
Command Mode
Global Configuration mode
Example
Add group 1, and configure the Security Model as SNMP v3, the security level
as authNoPriv, the management access to the assigned View viewDefault as
read-write, besides the trap messages sent by View viewDefault can be
received by Management station:
TL-SL3428(config)#snmp-server group group1 smode v3 slev authNoPriv
read viewDefault write viewDefault notify viewDefault
Delete Group group 1:
TL-SL3428(config)#no snmp-server group group1 smode v3 slev authNoPriv
snmp-server user
Description
The snmp-server user command is used to add User. To delete the
corresponding User, please use no snmp-server user command. The User in
an SNMP Group can manage the switch via the management station software.
The User and its Group have the same security level and access right.
Syntax
snmp-server user name { local | remote } group-name [smode { v1 | v2c | v3 }]
[slev { noAuthNoPriv | authNoPriv | authPriv }] [cmode { none | MD5 | SHA }]
[cpwd confirm-pwd] [emode { none | DES }] [epwd encrypt-pwd]