[Description]
Specifies a user.
The group name of this command specifies the name defined by the snmp-server group command; according to the security
level specified by the group setting, it specifies the algorithm and password that are used to authenticate and encrypt the content
of communication.
It is not possible to only encrypt without authentication.
The maximum number of entries is 16.
The setting as to whether authentication and encryption are used, the algorithm, and the password, must match the user setting
of the SNMP manager that is the other party.
If this command is executed with the "no" syntax, the setting of the specified user is deleted.
[Example]
Create "admin1" as a user. According to the specified group and the security level prescribed for that group, specify the
protocol (SHA, AES) and password (passwd1234) used for authentication and encryption.
SWR2311P(config)#snmp-server user admin1 admins auth sha passwd1234 priv aes
passwd1234
Create "user1" as a user. According to the specified group and the security level prescribed for that group, specify the protocol
(SHA) and password (passwd5678) used for authentication and encryption.
SWR2311P(config)#snmp-server user user1 users auth sha passwd5678
4.10.9 Show SNMP community information
[Syntax]
show
snmp
community
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows SNMP community information.
Shows the community name, and access mode.
[Example]
Show SNMP community information.
SWR2311P#show snmp community
SNMP Community information
Community Name: public
Access: Read-Only
Community Name: private
Access: Read-Write
4.10.10 Show SNMP view settings
[Syntax]
show
snmp
view
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows the contents of the SNMP view settings.
Shows the view name, object ID, and type.
[Example]
Show the contents of the SNMP view settings.
SWR2311P#show snmp view
SNMP View information
View Name: most
56
| Command Reference | Maintenance and operation functions