cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
769
Views
0
Helpful
2
Replies

Creating Terminal server with IR1101

chrispybacon
Level 1
Level 1

We're trying to create a terminal server to be reached over cellular.  We have an IR1101 with an attached IRM-1100-4A2T, offering 4 Async ports 0/4/0 through 0/4/3.  Going through the documentation, I have created the following configuration to reach a switch's console port through as0/4/0, but it doesn't seem to be working, and I don't really know where to go from here.  When I telnet to the loopback on the port, I telnet into the router instead of bringing up the console port connected to the switch.  Any direction would be appreciated.

interface Loopback0
 description Management interface
 ip address 192.168.1.1 255.255.255.255
 
interface Async0/4/0
 no ip address
 encapsulation relay-line
 media-type rs232
 
line 0/4/0
 transport input all
 transport output all
 speed 115200
 
relay line 0/4/0 0/0/0

ip host SWITCH 2002 192.168.1.1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

IR1101#show line
   Tty Line Typ     Tx/Rx    A Modem  Roty AccO AccI  Uses  Noise Overruns  Int
      0    0 CTY              -    -      -    -    -     0      0    0/0      -
* 0/0/0    2 TTY      0/0     -    -      -    -    -     0      0    0/0      -
  0/0/1    3 TTY      0/0     -    -      -    -    -     0      0    0/0      -
  0/0/2    4 TTY      0/0     -    -      -    -    -     0      0    0/0      -
  0/0/3    5 TTY      0/0     -    -      -    -    -     0      0    0/0      -
  0/0/4    6 TTY      0/0     -    -      -    -    -     0      0    0/0      -
  0/2/0   50 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -
* 0/4/0   98 TTY 115200/115200-    -      -    -    -     0      0    0/0      -
  0/4/1   99 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -
  0/4/2  100 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -
  0/4/3  101 TTY   9600/9600  -    -      -    -    -     0      0    0/0      -
*   146  146 VTY              -    -      -    -    -     1      0    0/0      -
    147  147 VTY              -    -      -    -    -     0      0    0/0      -
    148  148 VTY              -    -      -    -    -     0      0    0/0      -
    149  149 VTY              -    -      -    -    -     0      0    0/0      -
    150  150 VTY              -    -      -    -    -     0      0    0/0      -
    151  151 VTY              -    -      -    -    -     0      0    0/0      -
    152  152 VTY              -    -      -    -    -     0      0    0/0      -
    153  153 VTY              -    -      -    -    -     0      0    0/0      -
    154  154 VTY              -    -      -    -    -     0      0    0/0      -
    155  155 VTY              -    -      -    -    -     0      0    0/0      -
    156  156 VTY              -    -      -    -    -     0      0    0/0      -
    157  157 VTY              -    -      -    -    -     0      0    0/0      -
    158  158 VTY              -    -      -    -    -     0      0    0/0      -
    159  159 VTY              -    -      -    -    -     0      0    0/0      -
    160  160 VTY              -    -      -    -    -     0      0    0/0      -

 

2 Replies 2

pieterh
VIP
VIP

you need to telnet/ssh to the management ip-address, not the async 0/4/0 
then you need to modify the port in the connection, not using 23 (default)
but <base> + <line-number> or <base> + <line-number> +1
if base is 1000  (need to lookup the base number for this router)
then it will be like
     telnet 192.168.1.1:1098
to
     telnet 192.168.1.1:1101

this document 
Cisco Catalyst IR1101 Rugged Series Router Software Configuration Guide - IRM-1100-4A2T Expansion Module [Cisco Catalyst IR1100 Rugged Series Routers] - Cisco

shows the table below, which suggest you can alter the portnumber used per interface

NB! this example is not describing the use as a terminal-server, but as a remote serial connection between two routers
I suggest you try the "raw-socket tcp server .... " command and connect (telnet/ssh) as mentioned in previous post but with the self specified port-number

                                                                     
  

 IR1101     

Other Router

Note

 
Can be any IOS-XE router or IOS router, that supports at least 2 serial interfaces.
int Async0/2/0
   encapsulation raw-tcp
   no shut
int Async 0/3/1
   encapsulation raw-tcp
   media-type rs485
   full-duplex
  no shut

line 0/2/0
  raw-socket tcp client 10.0.0.2 6000 10.0.0.1 6001
line 0/3/1
  raw-socket tcp client 10.0.0.2 5000 10.0.0.1 5001
int Async 0/2/0
  encapsulation raw-tcp
  no shut
int Async 0/2/1
  encapsulation raw-tcp
  no shut

line 0/2/0
  raw-socket tcp server 6000
line 0/2/1
  raw-socket tcp server 5000