The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco Nexus 1000V commands that begin with the letter U.
To specify the virtual routing and forwarding instance (VRF) to use to contact this server group, use the use-vrf command.
use-vrf vrf-name
vrf-name |
VRF name. The name is a maximum of 32 case-sensitive, alphanumeric characters. |
None
RADIUS server group configuration submode for the specified group (config-radius)
network-admin
network-operator
This example shows how to specify the VRF to use to contact the server group called management:
n1000v# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
n1000v(config)# aaa group server radius fred
n1000v(config-radius)# use-vrf management
n1000v(config-radius)#
To assign a user to a port profile role, use the user command. To remove the user, use the no form of this command.
user user_name
no user user_name
user_name |
User name. The name is a maximum of 32 case-sensitive, alphanumeric characters. |
None
Port profile role configuration (config-port-profile-role)
network-admin
This example shows how to assign a user to the adminRole:
n1000v#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
n1000v(config)# port-profile-role adminRole
n1000v(
config-port-profile-role)#
user hdbaar
This example shows how to remove the user assignment from the adminRole:
n1000v#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
n1000v(config)# port-profile-role adminRole
n1000v(
config-role)#
no user hdbaar
|
|
---|---|
port-profile |
Creates a port profile. |
show port-profile |
Displays the port profile configuration, including roles assigned to them. |
To create and configure a user account, use the username command. To remove a user account, use the no form of this command.
username user-id [expire date [past]] [password [0 | 5] password] [role role-name] [sshkey {file uri | key}]
no username user-id [role role-name]
No expiration date, password, or SSH key.
The default role is the network-operator user role.
Global configuration (config)
network-admin
network-operator
You cannot delete the default admin user role.
You cannot change the expiration date for the default admin user role.
You cannot remove the network-admin role for the default admin user role.
Login is denied to usernames containing these characters:
#
@
In you have enabled password-strength checking, you can only assign strong passwords. The following are the characteristics of a strong password:
•At least eight characters long
•Does not contain many consecutive characters (such as "abcd")
•Does not contain many repeating characters (such as "aaabbb")
•Does not contain dictionary words
•Does not contain proper names
•Contains both uppercase and lowercase characters
•Contains numbers
This example shows how to create a user account with a password and a user role:
n1000v# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
n1000v(config)# username user1 password Ci5co321 role network-admin
This example shows how to configure the SSH key for a user account:
n1000v# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
n1000v(config)# username user1 sshkey file bootflash:key_file
|
|
---|---|
password strength-check |
Checks the password security strength. |
show user-account |
Displays the user account configuration. |
To change the network admin password in the running configuration, use the username admin password command.
username admin password [new-password]
new-password |
(Optional) Password string. The password is alphanumeric, case-sensitive and can be up to 32 characters. |
None
Global configuration (config)
network-admin
This example shows how to change the network admin password in the running configuration:
n1000v# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
n1000v(config)# username admin password <new-password>
n1000v(config)#
|
|
---|---|
show user-account |
Displays usernames and their roles. |
username |
Creates and configures a user account. |