Connectivity Guide

Congure read-write view
OS10(config)# snmp-server view rwView 1.3.6.1.2.1.31.1.1.1.6 included
OS10(config)# snmp-server view rwView 1.3.6.1.2.1.31.0.0.0.0 excluded
Display SNMP views
OS10# show snmp-server view
view name : readview
OID : 1.3.6.5
excluded : True
Congure SNMP groups
Congure an SNMP group with the views allowed for the members of the group. Specify the read-only, read-write, and/or notication
access to the SNMP agent.
The security model corresponds to the SNMP version that users use to send and receive SNMP messages. The security level congures
SNMPv3 user authentication and privacy settings:
auth — Authenticate users in SNMP messages.
noauth — Do not authenticate users or encrypt SNMP messages; send messages in plain text.
priv — Authenticate users and encrypt/decrypt SNMP messages.
Enter an ACL to limit user access so that only messages from and to ACL-allowed users are received and sent from the SNMP agent on
the switch.
snmp-server group group-name {v1 | v2c | v3 security-level} [access acl-name]
[read view-name] [write view-name] [notify view-name]
To congure a view of the MIB tree on the SNMP agent, use the snmp-server view command.
To congure an SNMPv3 user's authentication and privacy settings, use the snmp-server user command.
To display the congured SNMP groups, use the show snmp group command.
Congure SNMPv1 or v2c group
OS10(config)# snmp-server group v2group 2c read readview notify GetsSets
Congure SNMPv3 group
OS10(config)# snmp-server group v3group 3 priv read readview write writeview notify alltraps
Display SNMP groups
OS10# show snmp-server group
groupname : v2group
version : 2c
notifyview : GetsSets
readview : readview
groupname : v3group
version : 3
security level : priv
notifyview : alltraps
readview : readview
writeview : writeview
106
System management