Bravo020
10-10-2008, 06:18 AM
Hi, I hope that someone can point me in the right direction since I've been battling with the following problem for quite some time now and am beginning to think that I'm going crazy....
I apologise for the long message....
I have a Cisco 2522 that I would like to use as a remote access device to a number of devices within my lab. I am under the assumption that I can use reverse telnet to connect via the 8 low speed A/S serial ports to the console ports of the other devices within my lab. I realise that a Cisco 2509 or Cisco 2511 would also provide me with this ability, however as I have a 2522 I thought that it would be possible although with different cables.
I have some CAB-232FC cables (EIA/TIA-232 with DCE pin outs), which have a DB-60 to DB-25 configuration. In addition I have some DB-25 to RJ-45 adaptors and then a straight through RJ-45 cable connecting them to the console ports of my 3 other routers and 4 switches.
The DB-25 to RJ-45 adaptor has been wired as follows:
DB-25 RJ-45
2 ---------- 6 (TXD/RXD)
3 ---------- 3 (RXD/TXD)
4 ---------- 8 (RTS/CTS)
5 ---------- 1 (CTS/RTS)
6 ---------- 2 (DSR/DTR)
7 ---------- 4 (GND)
7 ---------- 5 (GND)
20 ---------- 7 (DTR/DSR)
The RJ-45 cable between the DB-25/RJ-45 adaptor and the console port of each device is a straight through cable and not a rolled or crossover cable.
From all the information that I can find on the Cisco website about the pin outs for the cables it is correct, although I am not totally 100% sure that they are since I am still unable to get a working reverse telnet from the 2522 to any of the other devices in my lab.
The configuration of the Cisco 2522 is as follows:
version 12.3
ip subnet-zero
ip host c1841 2002 172.16.0.1
ip host c1721 2003 172.16.0.1
ip host c3662 2004 172.16.0.1
ip host c2900 2005 172.16.0.1
ip host c2950G-1 2006 172.16.0.1
ip host c2950G-2 2007 172.16.0.1
ip host c2950G-3 2008 172.16.0.1
!
interface Loopback0
ip address 172.16.0.1 255.240.0.0
!
interface Serial2
physical-layer async
description Console connection to Cisco 1841
no ip address
encapsulation slip
!
interface Serial3
physical-layer async
description Console connection to Cisco 1721
no ip address
encapsulation slip
!
<snip>
!
interface Async10
no ip address
encapsulation slip
!
<snip>
!
line 2 8
no exec
transport input all
!
I'm not actually sure what the purpose of the interface Async10 is, but I can't recall entering that information, so can only assume that it appears as a result of changing the physical layer of the serial interfaces?
The output from a "show line" statement is provided below.
c2522#show line
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
0 CTY - - - - - 2 0 0/0 -
2 TTY 9600/9600 - - - - - 3 0 0/0
3 TTY 9600/9600 - - - - - 1 0 0/0 Se3
4 TTY 9600/9600 - - - - - 1 0 0/0 Se4
5 TTY 9600/9600 - - - - - 1 0 0/0 Se5
6 TTY 9600/9600 - - - - - 2 0 0/0 Se6
7 TTY 9600/9600 - - - - - 0 0 0/0 Se7
8 TTY 9600/9600 - - - - - 0 0 0/0 Se8
10 AUX 9600/9600 - - - - - 0 0 0/0 -
* 11 VTY - - - - - 8 0 0/0 -
12 VTY - - - - - 0 0 0/0 -
13 VTY - - - - - 0 0 0/0 -
14 VTY - - - - - 0 0 0/0 -
15 VTY - - - - - 0 0 0/0 -
Line(s) not in async mode -or- with no hardware support:
1, 9
So, unless there is more information that I should have entered, I would have thought that with a command such as "telnet 172.16.0.1 2002" I would be able to make a connection via the serial port 2 of the Cisco 2522 to the Cisco 1841 that is connected to via the it's console port.
Am I doing something wrong here (obviously I must be, else why would it not work)....? The IOS that I'm running on the 2522 is : c2500-is-l.123-26.bin.
If anyone can think of where I may have made a mistake it would be greatly appreciated.
Kind regards,
I apologise for the long message....
I have a Cisco 2522 that I would like to use as a remote access device to a number of devices within my lab. I am under the assumption that I can use reverse telnet to connect via the 8 low speed A/S serial ports to the console ports of the other devices within my lab. I realise that a Cisco 2509 or Cisco 2511 would also provide me with this ability, however as I have a 2522 I thought that it would be possible although with different cables.
I have some CAB-232FC cables (EIA/TIA-232 with DCE pin outs), which have a DB-60 to DB-25 configuration. In addition I have some DB-25 to RJ-45 adaptors and then a straight through RJ-45 cable connecting them to the console ports of my 3 other routers and 4 switches.
The DB-25 to RJ-45 adaptor has been wired as follows:
DB-25 RJ-45
2 ---------- 6 (TXD/RXD)
3 ---------- 3 (RXD/TXD)
4 ---------- 8 (RTS/CTS)
5 ---------- 1 (CTS/RTS)
6 ---------- 2 (DSR/DTR)
7 ---------- 4 (GND)
7 ---------- 5 (GND)
20 ---------- 7 (DTR/DSR)
The RJ-45 cable between the DB-25/RJ-45 adaptor and the console port of each device is a straight through cable and not a rolled or crossover cable.
From all the information that I can find on the Cisco website about the pin outs for the cables it is correct, although I am not totally 100% sure that they are since I am still unable to get a working reverse telnet from the 2522 to any of the other devices in my lab.
The configuration of the Cisco 2522 is as follows:
version 12.3
ip subnet-zero
ip host c1841 2002 172.16.0.1
ip host c1721 2003 172.16.0.1
ip host c3662 2004 172.16.0.1
ip host c2900 2005 172.16.0.1
ip host c2950G-1 2006 172.16.0.1
ip host c2950G-2 2007 172.16.0.1
ip host c2950G-3 2008 172.16.0.1
!
interface Loopback0
ip address 172.16.0.1 255.240.0.0
!
interface Serial2
physical-layer async
description Console connection to Cisco 1841
no ip address
encapsulation slip
!
interface Serial3
physical-layer async
description Console connection to Cisco 1721
no ip address
encapsulation slip
!
<snip>
!
interface Async10
no ip address
encapsulation slip
!
<snip>
!
line 2 8
no exec
transport input all
!
I'm not actually sure what the purpose of the interface Async10 is, but I can't recall entering that information, so can only assume that it appears as a result of changing the physical layer of the serial interfaces?
The output from a "show line" statement is provided below.
c2522#show line
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
0 CTY - - - - - 2 0 0/0 -
2 TTY 9600/9600 - - - - - 3 0 0/0
3 TTY 9600/9600 - - - - - 1 0 0/0 Se3
4 TTY 9600/9600 - - - - - 1 0 0/0 Se4
5 TTY 9600/9600 - - - - - 1 0 0/0 Se5
6 TTY 9600/9600 - - - - - 2 0 0/0 Se6
7 TTY 9600/9600 - - - - - 0 0 0/0 Se7
8 TTY 9600/9600 - - - - - 0 0 0/0 Se8
10 AUX 9600/9600 - - - - - 0 0 0/0 -
* 11 VTY - - - - - 8 0 0/0 -
12 VTY - - - - - 0 0 0/0 -
13 VTY - - - - - 0 0 0/0 -
14 VTY - - - - - 0 0 0/0 -
15 VTY - - - - - 0 0 0/0 -
Line(s) not in async mode -or- with no hardware support:
1, 9
So, unless there is more information that I should have entered, I would have thought that with a command such as "telnet 172.16.0.1 2002" I would be able to make a connection via the serial port 2 of the Cisco 2522 to the Cisco 1841 that is connected to via the it's console port.
Am I doing something wrong here (obviously I must be, else why would it not work)....? The IOS that I'm running on the 2522 is : c2500-is-l.123-26.bin.
If anyone can think of where I may have made a mistake it would be greatly appreciated.
Kind regards,