Setting the domain name, Configuring local users – HP Virtual Connect 4Gb Fibre Channel Module for c-Class BladeSystem User Manual

Page 137

Advertising
background image

Configuring the Virtual Connect domain using the CLI 137

To enter OA credentials during import:

>import enclosure username=Administrator password=myPassword

To be prompted for a masked password:

>import enclosure username=Administrator
Password=*****

Setting the domain name

To set the domain name, use the set domain command:

>set domain name=MyNewDomainName

The Virtual Connect domain name must be unique within the data center, and can be up to 31 characters

without spaces or special characters.

Configuring local users

To configure the local user authentication settings for the VC domain:

>set local-users Enabled=false PrimaryRemoteAuthenticationMethod=tacacs

The Primary Remote Authentication Method is the primary authentication mechanism that triggers the
re-enablement of local user authentication (if it was disabled) if the remote authentication servers are found

to be unavailable during login by a remote VC user. Valid values include NONE, LDAP, RADIUS, and

TACACS. The default value is NONE.

Configuring local users

To add a new user:

>add user bob password=fhkjdhfk privileges=domain,network

To modify an existing user:

>set user bob fullname="Bob J Smith" enabled=false

To remove an existing user:

>remove user bob

To remove all local users except for the Administrator account:

>remove user *

To display local user information:

Summary of all users
>show user

Details for all users
>show user *

Details for a single user
>show user steve

Up to 32 local user accounts can be created.
Each user account can be set up to have a combination of up to four access privileges:

Domain

o

Define local user accounts, set passwords, define roles

Advertising