On a local system, you have the ability to add user accounts using the device's CLI. The instructions below will provide the steps necessary to add a user account locally.
Note
For a managed appliance, you can perform this procedure on the Central Management System appliance as well as the local appliance. The procedure remains the same. However, you will need to take the additional step to locate the appliance on the Central Management System CLI. For instructions on locating an appliance on the Central Management System CLI, see the Trellix Central Management System Administration Guide.
Prerequisites
Admin access
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Add the user name with the
usernamecommand.The following example creates the user account nx‑3_operator:
hostname (config) # username nx-3_operatorAssign a role to the user account with the
username <username> rolesub-command.The following example assigns a role to the user account nx‑3_operator:
hostname (config) # username nx-3_operator role operatorAssign a password to the user account with the
username <username> role <role> passwordsub-command.The following example assigns the password
mArT!n1_@to the user account nx‑3:hostname (config) # username nx-3_operator password mArT!n1_@Note
The command does not ask you to confirm the password.
(Optional) For monitor accounts only, configure a subnet and VLAN ID for the specified user account. Use the
username <username> subnetandusername <usename> vlansub-commands:username <username> subnet <networkPrefix>username <username> vlan <vlanNumber>The following example configures the subnet and a VLAN ID for the user account nx‑3_operator:
hostname (config) # username
hostname (config) # username nx-3_operator subnet 24 hostname (config) # username nx-3_operator vlan 22View your changes:
hostname (config) # show usernamesSave your changes:
hostname (config) # write memory
To see the list of user accounts, enter the show usernames command. See Viewing the list of accounts using the appliance CLI.