telnet Milwaukee

Answered Question
Jul 13th, 2008
User Badges:

Hello everyone, i'm studying from the CCENT Official Exam Certification guide. I'm reading about how to connect by telnet to more than one session. The example say you use "telnet Milwaukee", but i cannot connect, just using ip, do you know what setting i need to use the hostname beside the ip address?

Thanks by advance.

Correct Answer by Edison Ortiz about 8 years 10 months ago

For telnet connectivity, it will use whatever value was entered in the ip host command.


As I stated, the hostname is not used for end-to-end connectivity.


__


Edison.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Edison Ortiz Sun, 07/13/2008 - 20:56
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

You either configure the router/switch to point to a dns server or just manually enter the hostname information in the router/switch.


For instance:


Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#ip host Milwaukee 1.1.1.1

Router(config)#end

Router#telnet


!


Router#telnet Milwaukee

Trying milwaukee (1.1.1.1)...

% Destination unreachable; gateway or host down


Router#


HTH,


__


Edison.


Please rate helpful posts


ingemartinez Sun, 07/13/2008 - 20:59
User Badges:

Do the name used in this command could be the same as using "hostname Milwaukee"?

Edison Ortiz Sun, 07/13/2008 - 21:06
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

hostname Milwaukee will change the hostname of the router. It has not effect on the end-to-end connectivity.


HTH,


__


Edison.


Please rate helpful posts


ingemartinez Sun, 07/13/2008 - 21:09
User Badges:

My meaning is if I put in the other-side router a name using "hostname" command, and if i use another name using "ip host" command in local router, could it be?

Suppose i put in my other-side router "hostname Mil" and in my local "ip host Milwaukee".

Correct Answer
Edison Ortiz Sun, 07/13/2008 - 21:11
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

For telnet connectivity, it will use whatever value was entered in the ip host command.


As I stated, the hostname is not used for end-to-end connectivity.


__


Edison.

Actions

This Discussion