**************************************
switch(config)#
The private key is imported as the file that you specify, and the public key is imported with the same filename
followed by a .pub extension.
This example shows how to assign privilege level 15 to the user:
switch# configure t
switch(config)# feature privilege
switch(config)# enable secret 5 def456 priv-lvl 15
switch(config)# username user2 priv-lvl 15
This example shows how to configure X.509v3 certificate-based SSH authentication.
switch# configure terminal
switch(config)# username jsmith password 4Ty18Rnt
switch(config)# username jsmith ssh-cert-dn "/O = ABCcompany, OU = ABC1,
emailAddress = jsmith@ABCcompany.com, L = Metropolis, ST = New York, C = US, CN = jsmith"
rsa
switch(config)# crypto ca trustpoint tp1
switch(config-trustpoint)# crypto ca authenticate tp1
switch(config-trustpoint)# crypto ca crl request tp1 bootflash:crl1.crl
switch(config-trustpoint)# exit
switch(config)# exit
Related Commands
DescriptionCommand
Enables a user to move to a higher privilege level.
enable level
Enables a secret password for a specific privilege
level.
enable secret priv-lvl
Enables the cumulative privilege of roles for
command authorization on TACACS+ servers.
feature privilege
Checks the password security strength.password strength-check
Displays the current privilege level, username, and
status of cumulative privilege support.
show privilege
Displays the user account configuration.show user-account
Displays the public key for the specified user.show username
   Cisco Nexus 7000 Series Security Command Reference
974
U Commands
username