PDA

View Full Version : Communications (terminal) server



Ech
01-03-2005, 04:38 PM
Các bác cho hỏi, tui có một con Cisco 2522 có 8 cổng A/S Serial, không biết có thể dùng nó làm terminal server được không?

Thông thường mọi nguòi hay dùng 2509 và 2511 để làm terminal server, tuy nhiên hai con này khó kiếm, vả lại cũng hơi mắc. Tôi có sẵn 2 con 2522 nên muốn "tiết kiệm điện" mà ko biết có được không đây.

Dùng lệnh "show line" thấy nó báo như sau:

Cisco252#show line
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
* 0 CTY - - - - - 1 0 0/0 -
* 10 AUX 9600/9600 - - - - - 1 0 0/0 -
11 VTY - - - - - 0 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

HuuHoa
01-03-2005, 04:55 PM
hi

Cổng 8 A/S của Ếch có giao tiếp là DB-60 hay là RJ-45 vậy?

dragon113
01-03-2005, 05:23 PM
Theo tôi nghĩ về nguyên tắc thì dùng được, có điều ngoài các lệnh để cấu hình Terminal Server như với 2509, bạn phải dùng lệnh " physical-layer async " trong interface mode. Ngoài ra có một điều quan trọng hơn là làm thể nào để có sợi cable kết nối từ cổng DB-60 của 2522 sang cổng console của Router khác. Hay bạn định tự hàn lấy :lol:

Ech
01-03-2005, 06:43 PM
Cổng Asynchronous của tôi là DB-60. Default của nó ở chế độ Synchronous, nên đúng như Dragon113 nói, tôi phải gõ lệnh physical-layer async để chuyển nó thành dạng Asynch.

Tôi đã có cable chuyển từ DB60 sang DB25 và sang RJ45, tuy nhiên mày mò mãi mà vẫn chưa được .

Tìm trên google thấy có chú đã nói làm được rồi, nên cũng có thêm động lực để mày mò .


http://www.groupstudy.com/archives/ccielab/200202/msg00170.html

* Subject: Re: 2522 as a Frame Relay switch & Terminal Server
* From: "Scott Meeuwsen" <scott@xxxxxxxxxxxx>
* Date: Sun, 3 Feb 2002 18:01:42 -0500
* Cc: <ccielab@xxxxxxxxxxxxxx>
* References: <20020203161356.41127.qmail@web13702.mail.yahoo.co m>

Prabhat,

Yes, this is what I do and works very well (Unless you get a lab that needs a ton of frame relay interfaces). I also use the AUX
port as an additional reverse telnet port using a cisco rollover. Remember you need special cables for this as you need to get from
DB60 to RJ45. To do this I use one standard cisco rollover + 1 standard RJ45 to DB25F adapter (the one marked "Terminal" ) and 1
DB60 to DB25M cable (Cisco part #CAB-232MT. NOTE: these can be expensive... I recommend www.anthonypanda.com). Hope this helps...

--Scott

----- Original Message -----
From: "Prabhat Sen" <senprabhat@xxxxxxxxx>
To: <ccielab@xxxxxxxxxxxxxx>
Sent: Sunday, February 03, 2002 11:13 AM
Subject: 2522 as a Frame Relay switch & Terminal Server


> Cisco 2522 router has 2 sych and 8 synch/asynch
> ports.We intend to use the synch 0 and 1 and 2 asynch
> ports as frame relay switch. The remaianing 6
> synch/asynch ports (assuming that 6 ports are
> sufficient), we intend to use them as asynch terminal
> server ports. Is this possible?
>
> Pls send yr comments and advice,
>
> Thanks,

Ech
23-03-2005, 06:35 PM
Sau một hồi lọ mọ, cuối cùng tôi cũng đã set up xong cái Communications Server dùng con 2522. Tuy tiết kiệm tiền mua router 2511, nhưng 6 cái dây để nối từ DB60 sang console thì hơi bị lục tốn . Tui post cái configuration, để có ai cũng muốn có cấu hình tương tự thì có chể tham khảo .

Dây nối từ Asyn Serial Interface (DB60) ra console thì tôi dùng giống như cái link bên trên nói ,

rollover + 1 standard RJ45 to DB25F adapter (the one marked "Terminal" ) and 1 DB60 to DB25M cable (Cisco part #CAB-232MT).

có thể thay bằng

Rollover + RJ45 to DB25M (male) + DB60 to DB25F

Tóm lại là cái dây DB60 to DB25 thì dùng male cũng được mà female cũng được, miễn là có cái chuyển đổi phù hợp.





CommServer#sh run
Building configuration...

Current configuration : 1449 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname CommServer
!
enable password xxxx
!
ip subnet-zero
no ip domain-lookup
ip host Cisco1601 2002 10.10.10.1
ip host Catalyst1912 2003 10.10.10.1
ip host Cisco2522A 2004 10.10.10.1
ip host Cisco2522B 2005 10.10.10.1
ip host Cisco2503 2006 10.10.10.1
ip host Cisco2504 2007 10.10.10.1
!
!
!
!
interface Loopback0
ip address 10.10.10.1 255.255.255.255
!
interface Ethernet0
ip address 192.168.0.4 255.255.255.0
!
interface Serial0
no ip address
shutdown
!
interface Serial1
no ip address
shutdown
!
interface Serial2
physical-layer async
no ip address
encapsulation slip
!
interface Serial3
physical-layer async
no ip address
encapsulation slip
!
interface Serial4
physical-layer async
no ip address
encapsulation slip
!
interface Serial5
physical-layer async
no ip address
encapsulation slip
!
interface Serial6
physical-layer async
no ip address
encapsulation slip
!
interface Serial7
physical-layer async
no ip address
encapsulation slip
!
interface Serial8
no ip address
!
interface Serial9
no ip address
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
!
ip classless
no ip http server
!
!
!
line con 0
line 2 7
session-timeout 20
flush-at-activation
no exec
transport preferred telnet
transport input all
flowcontrol hardware
line aux 0
line vty 0 4
password xxxx
login
!
end