User Configuration Example
1. To configure a user with name "admin," authentication type MD5, and
2. Configure a user access group, along with the views the group may access. Use the
3. Assign the user to the user group. Use the group table to link the user to a
558
CN4093 Application Guide for N/OS 8.4
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:
CN 4093(config)# snmp-server user <1‐17> authentication-protocol {md5|sha
authentication-password
‐or‐
CN 4093(config)# snmp-server user <1‐17> authentication-protocol none
authentication password of "admin," privacy option DES with privacy password
of "admin," use the following ISCLI commands.
CN 4093(config)# snmp-server user 5 name admin
CN 4093(config)# snmp-server user 5 authentication-protocol md5
authentication-password
Changing authentication password; validation required:
Enter current admin password:
Enter new authentication password:
Re-enter new authentication password: <auth. password>
New authentication password accepted.
CN 4093(config)# snmp-server user 5 privacy-protocol des privacy-password
Changing privacy password; validation required:
Enter current admin password:
Enter new privacy password:
Re-enter new privacy password:
New privacy password accepted.
access table to configure the group's access level.
CN 4093(config)# snmp-server access 5 name admingrp
CN 4093(config)# snmp-server access 5 level authpriv
CN 4093(config)# snmp-server access 5 read-view iso
CN 4093(config)# snmp-server access 5 write-view iso
CN 4093(config)# snmp-server access 5 notify-view 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.
particular access group.
CN 4093(config)# snmp-server group 5 user-name admin
CN 4093(config)# snmp-server group 5 group-name 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>
}