Configuring Local Users for Cisco UCS C-Series M7 and Later Servers
Before you begin
You must log in as a user with admin privileges to configure or modify local user accounts.
Procedure
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
Server# scope user usernumber |
Enters user command mode for user number usernumber. |
||
Step 2 |
Server /user # set enabled {yes | no} |
Enables or disables the user account on the Cisco IMC. |
||
Step 3 |
Server /user # set name username |
Specifies the username for the user. |
||
Step 4 |
Server /user # set role {readonly | user | admin} |
Specifies the role assigned to the user. The roles are as follows:
|
||
Step 5 |
Server /user # set user-typeCIMC|SNMP|IPMI |
Specifies the user type assigned to the user. You may select one or multiple user-type for a single user. |
||
Step 6 |
Server /user # set password |
You are prompted to enter the password twice.
|
||
Step 7 |
Server /user # set ipmi-password password |
Set the password for IPMI user type. |
||
Step 8 |
Server /user # set v3priv-protoNone|CFB128_AES128 |
Set this value for SNMP user type. |
||
Step 9 |
Server /user # set v3proto HMAC128_SHA224| HMAC192_SHA256| HMAC256_SHA384 |HMAC384_SHA512 |HMAC_SHA96 |None |
Set this value for SNMP user type. |
||
Step 10 |
Server /user # set v3priv-auth-keyPriv_Auth_key |
Set the key, if required. |
||
Step 11 |
Server /user # set v3auth-keyAuth_key |
Set the key, if required. |
||
Step 12 |
Server /user # commit |
Commits the transaction to the system configuration. |
Example
This example configures user 5 as an admin and all three user type:
Server# scope user 5
Server /user # set enabled yes
Server /user *# set name UserName
Server /user *# set role readonly
Server /user *# set user-type CIMC,SNMP,IPMI
Server /user *# set password
Warning:
Strong Password Policy is enabled!
For CIMC protection your password must meet the following requirements:
The password must have a minimum of 8 and a maximum of 14 characters.
The password must not contain the User's Name.
The password must contain characters from three of the following four categories.
English uppercase characters (A through Z)
English lowercase characters (a through z)
Base 10 digits (0 through 9)
Please enter password:
Please confirm password:
Server /user *# set ipmi-password
Warning:
Strong Password Policy is enabled!
For CIMC protection your password must meet the following requirements:
The password must have a minimum of 8 and a maximum of 20 characters for IPMI users and
maximum 127 characters for Non IPMI users.
The password must not contain the User's Name.
The password must contain characters from three of the following four categories.
English uppercase characters (A through Z)
English lowercase characters (a through z)
Base 10 digits (0 through 9)
Non-alphabetic characters (!, @, #, $, %, ^, &, *, -, _, +, =)
Please enter ipmi-password:
Server /user *# set v3proto None
Server /user *# set v3priv-proto None
Server /user *# commit