User Configuration Example
1. To configure a user with name "admin," authentication type MD5, and
authentication password of "admin," privacy option DES with privacy password
of "admin," use the following ISCLI commands.
2. Configure a user access group, along with the views the group may access. Use the
access table to configure the group's access level.
3. Assign the user to the user group. Use the group table to link the user to a
particular access group.
© Copyright Lenovo 2015
Users can be configured to use the authentication/privacy options. The CN4093
support two authentication algorithms: MD5 and SHA, as specified in the
following command:
CN4093(config)# snmpserver user <1‐17> authenticationprotocol {md5|sha
authenticationpassword
‐or‐
CN4093(config)# snmpserver user <1‐17> authenticationprotocol none
CN4093(config)# snmpserver user 5 name admin
CN4093(config)# snmpserver user 5 authenticationprotocol md5
authenticationpassword
Changing authentication password; validation required:
Enter current admin password:
Enter new authentication password:
Reenter new authentication password: <auth. password>
New authentication password accepted.
CN4093(config)# snmpserver user 5 privacyprotocol des privacypassword
Changing privacy password; validation required:
Enter current admin password:
Enter new privacy password:
Reenter new privacy password:
New privacy password accepted.
CN4093(config)# snmpserver access 5 name admingrp
CN4093(config)# snmpserver access 5 level authpriv
CN4093(config)# snmpserver access 5 readview iso
CN4093(config)# snmpserver access 5 writeview iso
CN4093(config)# snmpserver access 5 notifyview iso
Because the read view, write view, and notify view are all set to "iso," the user
type has access to all private and public MIBs.
CN4093(config)# snmpserver group 5 username admin
CN4093(config)# snmpserver group 5 groupname admingrp
If you want to allow user access only to certain MIBs, see "View‐Based
Configuration," next.
<admin. password>
<auth. password>
<admin. password>
<privacy password>
<privacy password>
Chapter 37: Simple Network Management Protocol
}
503