How will i Config the telnet in router?

Have a question or want to start a discussion? Post it! No Registration Necessary.  Now with pictures!

Threaded View
Hai friendz...
      Im doing my CCNA Course.. I have a doubt in config a telnet..
Would u guys any one tell me how to config the telnet in the network...
But i know the command with is to set r change the password. thats is
Router(Config)#line vty 0
Router(Config)#login
Router(Config)#password abcd

I think now u guy got it what exactly i want it... i want to config the
telnet.... please help me friendz...


Re: How will i Config the telnet in router?
You wanna do something like this

line vty 0 4
password abcd
login

This enables the telnet access

Manis wrote:
Quoted text here. Click to load it


Re: How will i Config the telnet in router?

Bumer wrote:
Quoted text here. Click to load it

yep ,thats how I have been doing it-when you config a password it is
for all virtual lines I believe


Re: How will i Config the telnet in router?
On Wed, 04 Oct 2006 12:17:50 -0700, Bumer wrote:

Quoted text here. Click to load it

This is correct because you can not enable login before your password is
set on vty on the new IOS's 12.x.

Re: How will i Config the telnet in router?
Hi Manis,

Follow these steps to configure console passwords.

Note: Before performing this test, ensure that you have an alternate
connection into the router, such as Telnet or dial-in, in case there is
a problem logging back in to the router.

Step 1. From the privileged EXEC (enable) prompt, enter configuration
mode ((config)) and then switch to line configuration mode
((config-line), by issuing the following commands:

Note: Notice that the prompt changes to reflect the current mode.

router#conf t
!--- Enter configuration commands, one per line. End with CNTL/Z.
router(config)#line con 0
router(config-line)#

Step 2. Configure the password, and enable password checking at login.

router(config-line)#password <password>
router(config-line)#login

Step 3. Exit configuration mode.

router(config-line)#end
router#
%SYS-5-CONFIG_I: Configured from console by console

Note: Do not save your configuration changes until your ability to log
in has been verified.

Step 4. Verify the configuration.

Examine the configuration of the router to make sure that the commands
have been properly entered by issuing the show running-config command.

To test the configuration, log off the console with the exit command
and log in again, using the configured password to access the router.

router#exit
router con0 is now available
Press RETURN to get started.

Step 5. Save your configuration.

router#write memory

------------------------------------------------------

Perform these steps to configure Telnet passwords.

Note: Before performing this test, ensure that you have an alternate
connection into the router, such as console or dial-in, in case there
is a problem logging back in to the router.

Step 1. From the privileged EXEC (or enable) prompt, enter
configuration mode (or (config)) and then switch to line configuration
mode ((config-line)), by issuing the following commands:

Note: Notice that the prompt changes to reflect the current mode.

router#conf t
!--- Enter configuration commands, one per line. End with CNTL/Z.
router(config)#line vty 0 4
router(config-line)#

Step 2. Configure the password, and enable password checking at login.

router(config-line)#password <password>
router(config-line)#login

Step 3. Exit configuration mode.

router(config-line)#end
router#
%SYS-5-CONFIG_I: Configured from console by console

Note: Do not save your configuration changes until your ability to log
in has been verified.

Step 4. Verify the configuration.

Examine the configuration of the router to make sure that the commands
have been properly entered, by issuing the show running-config command.


Test the configuration by making a Telnet connection to the router.

This can be done by connecting from a different host on the network,
but you can also do so from the router itself by Telnetting to the IP
address of any interface on the router that is in an up/up state as
seen in the output of the show interfaces command.

router#telnet <ip address>

Step 5. Save your configuration.

router#write memory

------------------------------------------------------

Follow these steps to configure Auxiliary (AUX) port passwords

Note: before performing this test, ensure that you have an alternate
connection into the router, such as console or Telnet, in case there is
a problem logging back in to the router.

Step 1. From the privileged EXEC (or enable) prompt, enter
configuration mode ((config)) and then switch to line configuration
mode ((config-line)), by issuing the following commands:

Note: Notice that the prompt changes to reflect the current mode.

router#conf t
!--- Enter configuration commands, one per line. End with CNTL/Z.
router(config)#line aux 0
router(config-line)#

Step 2. Configure the password, and enable password checking at login.

router(config-line)#password <password>
router(config-line)#login

Step 3. Exit configuration mode.

router(config-line)#end
router#
%SYS-5-CONFIG_I: Configured from console by console

Note: Do not save your configuration changes until your ability to log
in has been verified.

Step 4. Verify the configuration. Examine the configuration of the
router to make sure that the commands have been properly entered by
issuing the show running-config command. Test the configuration by
making an inbound or outbound connection to the line. For specific
information on configuring async lines for modem connections, refer to
the:

 Modem - Router Connection Guide

http://www.cisco.com/en/US/tech/tk801/tk36/technologies_tech_note09186a008009428b.shtml

Step 5. Save your configuration.

router#write memory

Hope this helps.

Brad Reese
BradReese.Com - Cisco eBay Repair Service
http://www.bradreese.com/ebay-cisco-repair.htm
1293 Hendersonville Road, Suite 17
Asheville, North Carolina  USA 28803
USA & Canada:  877-549-2680
International: 828-277-7272
Fax: 775-254-3558
AIM: R2MGrant
BradReese.Com - Cisco Power Supply Headquarters
http://www.bradreese.com/cisco-power-supply-inventory.htm


Site Timeline