Command
Username
Use
Creates a new user on the router.
Syntax
Router(config)#username
Example
In the following example a new user is created on the router. This user is then used when logging in via a telnet session from R2.
Copy
R1(config)#username Test password cisco
Telnet is enabled on R1
Copy
R1(config)#line vty 0 4
R1(config-line)#login local
The user is used to log into R1 via telnet from R2
Copy
R2#telnet 10.1.1.1
Trying 10.1.1.1 … Open
User Access Verification
Username: test
Password: ****
R1>