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 CLI 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 2016
RS G8264(config)# snmpserver user 5 name admin
RS G8264(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.
RS G8264(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.
RS G8264(config)# snmpserver access 5 name admingrp
RS G8264(config)# snmpserver access 5 level authpriv
RS G8264(config)# snmpserver access 5 readview iso
RS G8264(config)# snmpserver access 5 writeview iso
RS G8264(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.
RS G8264(config)# snmpserver group 5 username admin
RS G8264(config)# snmpserver group 5 groupname admingrp
<admin. password>
<auth. password; Should be more than 18 characters >
<admin. password>
<privacy password; Should be more than 18 characters>
<privacy password>
Chapter 41: Simple Network Management Protocol
643