Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

configure cisco router 2511 like terminal 1

Status
Not open for further replies.

MaxDm

Instructor
Jan 28, 2009
20
0
0
UA
Hello guys!
I have some problem with configuration cisco router 2511 like terminal server. How now how I can do it?
 
this is my config:

Current configuration : 1439 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Terminal_Server
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$JwPa$JNHhcHt3oRKKgJ0kfi/8g0
!
no aaa new-model
ip subnet-zero
no ip domain lookup
ip host 2511-1 2001 172.21.1.1 255.255.0.0
!
username maxdm password 7 05080F4B22431C5C100C
!
!
!
interface Loopback1
ip address 172.21.1.1 255.255.0.0
!
interface Ethernet0
ip address 10.25.3.111 255.255.255.0
no ip mroute-cache
!
interface Serial0
no ip address
shutdown
!
interface Serial1
no ip address
shutdown
!
ip default-gateway 10.25.3.1
no ip http server
ip classless
ip route 0.0.0.0 0.0.0.0 10.25.3.1
!
banner login ^C Warning!!! It's only for wise administrators, you will work with ^C
!
line con 0
password 7 01100F405804545A2845
login local
transport output all
line 1 16
session-timeout 20
exec-timeout 0 0
no exec
line aux 0
transport preferred telnet
transport input all
speed 38400
flowcontrol hardware
line vty 0
exec-timeout 60 0
password 7 070C28084D064B501E1B
login local
transport preferred telnet
line vty 1 4
session-timeout 20
exec-timeout 60 0
password 7 070C28084D064B501E1B
login local
transport preferred telnet
transport input all
transport output all
line vty 5 16
session-timeout 20
exec-timeout 60 0
no login
transport preferred telnet
transport input all
transport output all
!
end



and when I try to connect to console, I have next:

Terminal_Server#
Terminal_Server#telnet 172.21.1.1 2001
Trying 172.21.1.1, 2001 ...
% Connection refused by remote host

Terminal_Server#

what is wrong, who now?
may it's depend on IOS?
 
Hello
Do a "show line" to see if the line is occupy.Then a clear line and try again.
Regards
 
line vty 5 16
session-timeout 20
exec-timeout 60 0
no login

These must have a login, depending on which vty you're using...

Burt
 
here show line:


Terminal_Server#show line
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
0 CTY - - - - - 0 0 0/0 -
1 TTY 9600/9600 - - - - - 0 5 0/0 -
2 TTY 9600/9600 - - - - - 0 0 0/0 -
3 TTY 9600/9600 - - - - - 0 0 0/0 -
4 TTY 9600/9600 - - - - - 0 0 0/0 -
5 TTY 9600/9600 - - - - - 0 0 0/0 -
6 TTY 9600/9600 - - - - - 0 0 0/0 -
7 TTY 9600/9600 - - - - - 0 0 0/0 -
8 TTY 9600/9600 - - - - - 0 0 0/0 -
9 TTY 9600/9600 - - - - - 0 0 0/0 -
10 TTY 9600/9600 - - - - - 0 0 0/0 -
11 TTY 9600/9600 - - - - - 0 0 0/0 -
12 TTY 9600/9600 - - - - - 0 0 0/0 -
13 TTY 9600/9600 - - - - - 0 0 0/0 -
14 TTY 9600/9600 - - - - - 0 0 0/0 -
15 TTY 9600/9600 - - - - - 0 0 0/0 -
16 TTY 9600/9600 - - - - - 0 0 0/0 -
17 AUX 38400/38400 - - - - - 0 0 0/0 -
* 18 VTY - - - - - 2 0 0/0 -
19 VTY - - - - - 0 0 0/0 -
20 VTY - - - - - 0 0 0/0 -
21 VTY - - - - - 0 0 0/0 -
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int

22 VTY - - - - - 0 0 0/0 -
23 VTY - - - - - 0 0 0/0 -
24 VTY - - - - - 0 0 0/0 -
25 VTY - - - - - 0 0 0/0 -
26 VTY - - - - - 0 0 0/0 -
27 VTY - - - - - 0 0 0/0 -
28 VTY - - - - - 0 0 0/0 -
29 VTY - - - - - 0 0 0/0 -
30 VTY - - - - - 0 0 0/0 -
31 VTY - - - - - 0 0 0/0 -
32 VTY - - - - - 0 0 0/0 -
33 VTY - - - - - 0 0 0/0 -
34 VTY - - - - - 0 0 0/0 -


NO CHANGES.


Terminal_Server#clear line tty 1
[confirm]
[OK]
Terminal_Server#show line tty 1
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
1 TTY 9600/9600 - - - - - 0 5 0/0 -

Line 1, Location: "", Type: ""
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 9600/9600, no parity, 2 stopbits, 8 databits
Status: Ready
Capabilities: EXEC Suppressed
Modem state: Ready
Group codes: 0
Modem hardware state: CTS* noDSR DTR RTS
Special Chars: Escape Hold Stop Start Disconnect Activation
^^x none - - none
Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch
never 00:20:00 none not set
Idle Session Disconnect Warning
never
Login-sequence User Response
00:00:30
Autoselect Initial Wait
not set
Modem type is unknown.



 
burtsbees: there are no influence, I have login for line vty 0 4. I try do it with "line vty 5 16 , login local" but no effect.
 
To be on the safe side put this command under line 1 16 :


transport input all


Regards

 
no effect:(

line vty 0
exec-timeout 60 0
password 7 070C28084D064B501E1B
login local
transport preferred telnet
line vty 1 4
session-timeout 20
exec-timeout 60 0
password 7 070C28084D064B501E1B
login local
transport preferred telnet
transport input all
transport output all
line vty 5 16
session-timeout 20
exec-timeout 60 0
no login
transport preferred telnet
transport input all
transport output all
!
end



Terminal_Server#
Terminal_Server#telnet 172.21.1.1 2001
Trying 172.21.1.1, 2001 ...
% Connection refused by remote host

Terminal_Server#
 
I had this same issue, what I did was conect into the the destination router using hyperterminal, go into console configuration and allow transport input all, login, password, etc. Then try again from the access server.
 
Hello
Did you put the command under the "line 1 16" from your last post it's not present in the config.Also try another line and make sure the octal cable that is plug into the router is correct.
Regards
 
I confused this post with another one---sorry.

You need to configure reverse telnet...

ip host R1 2001 192.168.1.1
ip host R2 2002 192.168.1.1
ip host R3 2003 192.168.1.1

then the loopback address...same as the host addresses...

int lo0
ip add 192.168.1.1 255.255.255.255

Then at the access server...

router#R1

Then it connects you. You would have the octal cable plugged into the access server and the RJ-45 ends each plugged into the console ports of all the routers. Have phun!

Burt
 
i have only been on my 2511 once, since i still need to buy my lil oct cable off of ebay, BUT;

line 1 8
transport input all
modem inout

------------------------------------
Dallas, Texas
Telecommunications Tech
CCVP, CCNA, Net+

CCNP in the works
 
I don't think you have to do that, but I could be wrong (believe it or not...lol).

Burt
 


Configuring the Asynchronous Port
This section describes how to configure the Cisco 2500 series access server for use with a modem, and includes information on configuring the line and security commands.

Full configuration of an access server asynchronous port requires the configuration of two entities—the line and the asynchronous interface. The asynchronous interface is created and configured for support of Serial Line Internet Protocol (SLIP) and PPP. (See the section "Asynchronous Protocols" later in this appendix.)

Configuring the Line
The goal of line configuration is to prepare the line to test dial-in access to an EXEC session. In the following example, lines 1 through 8 are configured:


--------------------------------------------------------------------------------

Step 1 From a privileged EXEC session, enter the command configure terminal and access line configuration mode:

Router# conf terminal
Enter one configuration command per line. End with CNTL-Z.
Router(config)# line 1 8
Router(config-line)#
Step 2 Configure the lines to meet the EIA/TIA-232 requirements:

Router(config-line)# speed 57600
Router(config-line)# flowcontrol hardware
Router(config-line)# modem inout
Router(config-line)#
Setting the speed at 115200 may offer higher throughput depending on modem speed and compression achieved. Troubleshooting should include testing at lower speeds.

The command modem ri-is-cd can be used instead of the command modem inout to enhance security by not allow outgoing connections from the access server to the modem. Enter the command modem inout during setup to allow configuration of the modem from the access server, changing to the command modem ri-is-cd when testing is completed, if desired.



------------------------------------
Dallas, Texas
Telecommunications Tech
CCVP, CCNA, Net+

CCNP in the works
 
Guys! thank you for ideas, but all this don't help:(
may be how now some think else?
 
Yes, I had the same problem, I finally gave up and decided to use a different octal cable and it works perfectly. I would suggest doing a show line and if you see noise in your lines, get a new wire.
 
Thank you guys!!! It's work wonderful. There was the most mistake with:

interface Async1
no ip address
encapsulation slip
!
ip default-gateway 172.21.1.1

I had my defaul gateway. And with lines, no all was all right.

Now It's ok :)
 
Can you please post the working conf,so as to help others.As I side note ,I am sure the "interface Async1"isn't needed.Try taking out to see if it works the same.
Regards
 
Isn't the asynch interface what the octal cable plugs into???

Burt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top