Link to home
Start Free TrialLog in
Avatar of eemoon
eemoon

asked on

Terminal server ports

Hi I saw the below command for terminal server. Is the port # 3 the physical port of the terminal server ? Thank you

ip host 3600-2 2003 12.1.1.11
Avatar of Chris
Chris
Flag of United Kingdom of Great Britain and Northern Ireland image

Have a look at the syntax for ip host here: http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr/command/ipaddr-cr-book/ipaddr-i3.html#wp2322343528

Essentially, ip host manually assigns a hostname to an ip address on that particular switch. Think if it as essentially a hosts file.

In your command, the three fields are as follows:

Hostname: 3600-2
TCP port: 2003
IP address: 12.1.1.11

The TCP port field is used for commands within IOS to prevent you from having to manually enter a port each time. For example, if you were constantly sshing into the above device, but had changed the ssh port, you would ordinarily have to tell ssh which port to use each time. By specifying the port in the ip host command, you won't need to specify this each time you connect, as it will be the default port that ssh will try.
Avatar of eemoon
eemoon

ASKER

Thank you for your fast reply. I should have shown where the question is from. Please see the link:
http://www.cisco.com/c/en/us/support/docs/dial-access/asynchronous-connections/5466-comm-server.html

My understanding for it is that the port number 3 is the physical port of the terminal server, do you think so ?
SOLUTION
Avatar of Joey Yung
Joey Yung

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eemoon

ASKER

Thank you so much for your explanation. and I am sorry for the delay responding due to another project.
Please see it below, which is a little different with your post show line. In my output, why it does not have interface, something like "0/0/1" and why 33 is its beginning of the show line? and where is 0 - 32 ?


ABCD#sh line
   Tty Typ     Tx/Rx    A Modem  Roty AccO AccI   Uses   Noise  Overruns   Int
      0 CTY              -    -      -    -    -      8       0     0/0       -
*    33 TTY   9600/9600  -    -      -    -    -    137      72     0/0       -
     34 TTY   9600/9600  -    -      -    -    -    158    9451     0/0       -
*    35 TTY   9600/9600  -    -      -    -    -    117  404184     0/0       -
     36 TTY   9600/9600  -    -      -    -    -     40  351441     0/0       -
*    37 TTY   9600/9600  -    -      -    -    -     56     514     0/0       -
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial