Configuring Telnet Using An Username & Password: Khawar Butt Ccie # 12353 (R/S, Security, SP, DC, Voice, Storage & Ccde)

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 7

Configuring Telnet Using an c

Username & Password


KHAWAR BUTT
CCIE # 12353 [R/S, SECURITY, SP, DC, VOICE, STORAGE & CCDE]
Overview
 Configuring Telnet for Remote Management using an Username & Password

c
Lab Diagram
PC PC

Switch Switch
c

192.168.1.0/24 192.168.2.0/24
Ethernet 0/0 Ethernet 0/0
Serial 1/0 Serial 1/0

Console R1 192.168.12.0/24 R2

MGMT
PC
Configuring Username based Telnet
 In order add the security of being able to identify administrators individually,
you need to authenticate using Usernames and password rather than just a
common Password. c

 Configure a Local Accounts Database for the Admins just like you did for the
Console port.

 Just like the console port, configure the VTY lines for Local Database
authentication instead of simple password authentication.
Configuring Telnet Authentication
 Configure a user accounts database for the administrators on both R1 and R2. Create a user admin1 with a password of admin1
and another one called admin2 with a password of admin2.
 Configure the VTY Lines for local database authentication instead of the Password authentication.

R1 R2
c
R1(config)#username admin1 password admin1 R2(config)#username admin1 password admin1
R1(config)#username admin2 password admin2 R2(config)#username admin2 password admin2
R1(config)#line vty 0 4 R2(config)#line vty 0 4
R1(config-line)#no password R2(config-line)#no password
R1(config-line)#login local R2(config-line)#login local
Verifying Remote Management using Telnet
Telnet into R2 from R1 by using the following

R1#telnet 192.168.12.2

It should prompt you for a username. Type admin1. It


c should prompt for a password. Type admin1 as the
password.

You should be at the User Exec Mode “>”. This is the default mode for Remote Management.

Type “Enable” to move to Privilege Exec Mode.

You will be prompted for a password. This is the enable password. This is required to be set for Remote
management. Type cisco111 as the enable password. You Should be at the Privilege Exec Mode “#”.

You can manage the router as if you were connected directly to the console.
Whiteboard

You might also like