beautypg.com

82 username – CANOGA PERKINS 9175 Command Reference User Manual

Page 731

background image

CanogaOS Command Reference

40-60

=================================================================

1 Test_A 1 *

Switch(config)# re-username Test_A newname Test_B

Switch(config)# do show usernames

Number User name Privilege Password Rsa Key

=================================================================

1 Test_B 1 *


Related Commands

show usernames

40.82 username

To establish a username-based authentication system, use the username command in global

configuration mode. To remove a user in local database, use the no form of this command.


Command Syntax

username name assign rsa key keyname

username name password password

username name secret password

username name privilege level

no username name [assign rsa key]

name The

username.

keyname The RSA key name.

password

The password for the user.

level

The privilege level of the user. The range is 0 to 15.


Command Mode

Global configuration


Default

No username-based authentication system is established.


Usage

The username command provides username or password authentication, or both, for login purposes

only.

Multiple username commands can be used to specify options for a single user.


Examples

The following is sample output from the username command.

Switch(config)# username Test_A privilege 10

Switch(config)# username Test_A password abc

Switch(config)# do show usernames

Number User name Privilege Password Rsa Key