U Commands
This chapter describes the Cisco Nexus 1000V commands that begin with the letter U.
use-vrf
To specify the virtual routing and forwarding instance (VRF) to use to contact this server group, use the use-vrf command.
Syntax Description
Defaults
Command Modes
RADIUS server group configuration submode for the specified group (config-radius)
network-admin
network-operator
Command History
|
|
Examples
This example shows how to specify the VRF to use to contact the server group called management:
Related Commands
user (Port Profile Role)
To assign a user to a port profile role, use the user command. To remove the user, use the no form of the command.
Syntax Description
Specify that a user is to be added to the port-profile role, and the name of the user (maximum of 32 characters. |
Defaults
Command Modes
Port profile role configuration (config-port-profile-role)
Command History
|
|
Examples
This example shows how to assign a user to the adminRole:
n1000v# config t
n1000v(
config-port-profile-role)#
user hdbaar
This example shows how to remove the user assignment from the adminRole:
n1000v# config t
n1000v(
config-role)#
no user hdbaar
Related Commands
username
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 ]
Syntax Description
Defaults
Command Modes
network-admin
network-operator
Command History
|
|
Usage Guidelines
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
Examples
This example shows how to create a user account with a password and a user role:
This example shows how to configure the SSH key for a user account:
Related Commands
|
|
---|---|
username admin password
To change the network admin password in the running configuration, use the username admin password command.
username admin password [ new-password ]
Syntax Description
(Optional) Password string, which is alphanumeric, case sensitive, and has a maximum of 64 characters. |
Defaults
Command Modes
Command History
|
|
Examples
This example shows how to change the network admin password in the running configuration:
Related Commands
|
|
---|---|