ADC Telecommunications, Inc.
200 CHAPTER 9: SIMPLE NETWORK MANAGEMENT PROTOCOL (SNMP)
To configure these access control elements, the administrator issues the
following commands:
cli:192.168.208.3:root# snmp-server view nosnmpconfig 1.3.6.1 included
cli:192.168.208.3:root# snmp-server view nosnmpconfig snmpModules excluded
cli:192.168.208.3:root# snmp-server group mgr v3 noauth read nosnmpconfig context
monitor
cli:192.168.208.3:root# snmp-server context monitor
cli:192.168.208.3:root# snmp-server user mgr
The administrator then decides that a user with read and write access to the
entire MIB is needed. To create this user and assign the user the necessary
access privileges, the administrator issues the following commands:
cli:192.168.208.3:root# snmp-server view allaccess 1.3.6.1 included
cli:192.168.208.3:root# snmp-server group superman v3 priv read allaccess write
allaccess context admin
cli:192.168.208.3:root# snmp-server context admin
cli:192.168.208.3:root# snmp-server user superman auth md5 ab03045f6e priv des56
a0b0c0d0e0f0
The group entry allows the context “admin” to have read and write access
to the entire MIB. Only management hosts that use the user “superman”
and the context “admin” can access the view “allaccess.”