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.
use-vrf vrf-name
Syntax Description
vrf-name |
Name of the VRF to use to contact this server group. |
Defaults
None
Command Modes
RADIUS server group configuration submode for the specified group (config-radius)
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1) |
This command was introduced. |
Examples
This example shows how to specify the VRF to use to contact the server group called management:
n1000v# configure terminal
n1000v(config)# aaa group server radius fred
n1000v(config-radius)# use-vrf management
n1000v(config-radius)#
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
No expiration date, password, or SSH key.
The default role is the network-operator user role.
Command Modes
Global configuration (config)
network-admin
network-operator
Command History
|
|
4.0(4)SV1(1) |
This command was introduced. |
Usage Guidelines
You cannot delete the default admin user role.
You cannot change the expiration date for the the default admin user role.
You cannot remove the network-admin role for the default admin user role.
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:
n1000v# config t
n1000v(config)# username user1 password Ci5co321 role network-admin
This example shows how to configure the SSH key for a user account:
n1000v# config t
n1000v(config)# username user1 sshkey file bootflash:key_file
Related Commands
|
|
---|---|
password strength-check |
Checks the password security strength. |
show user-account |
Displays the user account configuration. |
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
new-password |
(Optional) Password string, which is alphanumeric, case sensitive, and has a maximum of 64 characters. |
Defaults
None
Command Modes
Global configuration (config)
network-admin
Command History
|
|
4.0(4)SV1(1) |
This command was introduced. |
Examples
This example shows how to change the network admin password in the running configuration:
n1000v# config t
n1000v(config)# username admin password <new-password>
n1000v(config)#
Related Commands
|
|
---|---|
username |
Creates and configures a user account. |
show user-account |
Displays usernames and their roles. |