Blade ICE RACKSWITCH G8124-E Manuale Utente

Pagina di 388
BLADEOS 6.5.2 Application Guide
BMD00220, October 2010
Chapter 26: Simple Network Management Protocol  

  357
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.  
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 G8124(config)# snmp-server user 5 name admin
RS G8124(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 G8124(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 G8124(config)# snmp-server access 5 name admingrp
RS G8124(config)# snmp-server access 5 level authpriv
RS G8124(config)# snmp-server access 5 read-view iso
RS G8124(config)# snmp-server access 5 write-view iso
RS G8124(config)# snmp-server access 5 notify-view iso
RS G8124(config)# snmp-server group 5 user-name admin
RS G8124(config)# snmp-server group 5 group-name admingrp