Cisco USC C シリーズ M7 および以降のサーバー向けローカル ユーザーの構成
始める前に
ローカル ユーザー アカウントを設定または変更するには、admin 権限を持つユーザーとしてログインする必要があります。
手順
コマンドまたはアクション | 目的 | |||
---|---|---|---|---|
ステップ 1 |
Server# scope user usernumber |
ユーザー番号 usernumber に対するユーザー コマンド モードを開始します。 |
||
ステップ 2 |
Server /user # set enabled {yes |no\\ |
Cisco IMC でユーザー アカウントを有効または無効にします。 |
||
ステップ 3 |
Server /user # set name username |
ユーザーのユーザー名を指定します。 |
||
ステップ 4 |
Server /user # set role {readonly |user |admin\\ |
ユーザーに割り当てるロールを指定します。ロールには、次のものがあります。
|
||
ステップ 5 |
Server /user # set user-typeCIMC|SNMP|IPMI |
ユーザーに割り当てるユーザー タイプを指定します。1 人のユーザーに対して 1 つまたは複数のユーザー タイプを選択できます。 |
||
ステップ 6 |
Server /user # set password |
パスワードを 2 回入力するように求められます。
|
||
ステップ 7 |
Server /user # set ipmi-password password |
IPMI ユーザー タイプのパスワードを設定します。 |
||
ステップ 8 |
Server /user # set v3priv-protoNone|CFB128_AES128 |
この値は、SNMP ユーザー タイプに設定します。 |
||
ステップ 9 |
Server /user # set v3proto HMAC128_SHA224| HMAC192_SHA256| HMAC256_SHA384 |HMAC384_SHA512 |HMAC_SHA96 |None |
この値は、SNMP ユーザー タイプに設定します。 |
||
ステップ 10 |
Server /user # set v3priv-auth-keyPriv_Auth_key |
必要に応じてキーを設定します。 |
||
ステップ 11 |
Server /user # set v3auth-keyAuth_key |
必要に応じてキーを設定します。 |
||
ステップ 12 |
Server /user # commit |
トランザクションをシステムの設定にコミットします。 |
例
次に、ユーザー 5 を 1 つの admin と 3 つすべてのユーザー タイプとして構成する例を示します。
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