Memorise

Create/edit user in HP SAN MSA2312i

Create user John who will view system information using base 2 in SMU:
# create user base 2 interfaces wbi level monitor John
Enter new password: ********
Re-enter new password: ********
Success: Command completed successfully. (John) – The new user was created.
(2012-01-20 15:54:35)
Create user MIB that can view the SNMP MIB, using authentication and encryption:
# create user interfaces snmpuser password Abcd1234 authentication-type SHA
privacy-type AES privacy-password Abcd5678 MIB
Success: Command completed successfully. (MIB) – The new user was created.
(2012-01-20 15:54:45)
Create user Traps that can receive SNMP trap notifications, using authentication without
encryption:
# create user interfaces snmptarget authentication-type MD5 trap-host
172.22.4.171 Traps
Enter new password: *********
Re-enter new password: *********
Success: Command completed successfully. (Traps) – The new user was created.
(2012-01-20 15:54:55)

 

Change the temperature scale and accessible interfaces for user jsmith:
# set user jsmith temperature-scale f interfaces wbi,cli
Success: Command completed successfully. – The settings were changed
successfully. (2012-01-21 14:39:50)
Change the password for user JDoe:
# set user JDoe password Abcd%1234
Success: Command completed successfully. – The settings were changed
successfully. (2012-01-21 14:39:56)
Change the authentication type for SNMPv3 user Traps:
# set user Traps authentication-type MD5 password Snmp%Trap
Success: Command completed successfully. – The settings were changed
successfully. (2012-01-12 14:40:10)
For the only CLI user with the manage role, try to reduce the role to monitor:
# set user SysAdmin roles monitor
Error: At least one CLI user must retain configuration privileges at all times.
(2013-10-31 14:10:47)

 

Show configured users:
# show users
Username Roles User Type User Locale WBI CLI FTP SMI-S SNMP
Authentication Type Privacy Type Password Privacy Password
Trap Host Address
—————————————————————————-
ftp manage,monitor Standard English x
********
MIB monitor Standard English U
SHA AES access_MIB MIB_access
manage manage,monitor Standard English x x x x
********
monitor monitor Standard English x x
********
Traps monitor Standard English T
SHA AES _Abc123_ _123Abc_
172.22.4.171
Rivera manage,monitor Standard Spanish x x
********
—————————————————————————-
Success: Command completed successfully. (2012-02-19 15:31:12)

 

If you have problem logging into Web Management this could be due to SSL cert error in browser. SSH to SAN then Enable http on SAN using cli below, then try login using http:// instead of https://. You can always create new user using the cli above.

Example Enable/Disable unsecure HTTP connections and enable FTP:
# set protocols http disabled ftp enabled
# set protocols http enabled ftp enabled

Success: Command completed successfully. (2012-01-21 14:46:55)

 


Categorised as: Hardware/Software, Networking


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.