User Manual

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.
SWP2(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.
SWP2#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.
SWP2#show snmp view
SNMP View information
View Name: most
OID: 1.6.1
Type: include
View Name: standard
OID: 1.3.6.1.2.1
Type: include
4.10.11 Show SNMP group settings
[Syntax]
show snmp group
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows the contents of the SNMP group settings.
Shows the group name, security level, reading view, and writing view.
[Example]
Show the contents of the SNMP group settings.
Command Reference | Maintenance and operation functions | 57