Technical data

BLADE OS 5.1 Application Guide
BMD00136, November 2009 Chapter 1: Accessing the Switch
23
To configure an SNMP user name, enter the following command:
User Configuration:
Users can be configured to use the authentication/privacy options. The G8000 supports two
authentication algorithms: MD5 and SHA, as specified in the following command:
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.
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.
3. Assign the user to the user group. Use the group table to link the user to a particular access group.
RS G8000 (config)# snmp-server user <1-16> name <1-32>
snmp-server user <1-16> authentication-protocol md5|sha
RS G8000 (config)# snmp-server user 5 name admin
RS G8000 (config)# snmp-server user 5 authentication-protocol md5
authentication-password
Changing authentication password; validation required:
Enter current admin password: <admin. password>
Enter new authentication password: <auth. password>
Re-enter new authentication password: <auth. password>
New authentication password accepted.
RS G8000 (config)# snmp-server user 5 privacy-protocol des
privacy-password
Changing privacy password; validation required:
Enter current admin password: <admin. password>
Enter new privacy password: <privacy password>
Re-enter new privacy password: <privacy password>
New privacy password accepted.
RS G8000 (config)# snmp-server access 5 name admingrp
RS G8000 (config)# snmp-server access 5 level authpriv
RS G8000 (config)# snmp-server access 5 read-view iso
RS G8000 (config)# snmp-server access 5 write-view iso
RS G8000 (config)# snmp-server access 5 notify-view iso
RS G8000 (config)# snmp-server group 5 user-name admin
RS G8000 (config)# snmp-server group 5 group-name admingrp