User Manual

[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.
SWP1(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.
SWP1(config)#snmp-server user user1 users auth sha passwd5678
9.1.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, access mode, and the name of the VLAN interface that can be accessed.
[Example]
Show SNMP community information.
SWP1#show snmp community
SNMP Community information
Community Name: public
Access: Read-Only
Acceptable Interface: vlan0.1
Community Name: private
Access: Read-Write
Acceptable Interface: vlan0.1
9.1.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.
SWP1#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
9.1.11 Show SNMP group settings
[Syntax]
show snmp group
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
84 | Command Reference | Network monitoring