Configure Telnet,console

Published by

on

Before starting to do, 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.

Connectivity for R2 to R3

  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)#

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

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

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.

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.

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.

  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)#
  2. Configure the password, and enable password checking at login.
    router(config-line)#password <password>
    router(config-line)#login
  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.

  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>

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.

  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)#
  2. Configure the password, and enable password checking at login.
    router(config-line)#password <password>
    router(config-line)#login
    
  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.

  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.
  5. Save your configuration.
router#write memory

Disable “Translating … Domain Server” Message – Actual Lookup

R1#end
Translating “end”…domain server (255.255.255.255)

R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#no ip domain lookup
R1(config)#end
R1#
%SYS-5-CONFIG_I: Configured from console by console

R1#end
Translating “end”
% Unknown command or computer name, or unable to find computer address

R1#

Leave a comment

Design a site like this with WordPress.com
Get started