2024年3月31日发(作者:)

console 接口线序

Console Server和设备的console串口都属于DTE(数据终端设备),DTE之间的互联要使用反转电缆,

即A设备的接收线接B设备的发送线,反之亦然。在RS-232定义中,TXD-RXD, DTR-DSR, RTS-CTS 为

三对主要的收发信号线,另外还要连接GND(地线)。而Modem属于DCE(数据载波设备),DCE与DTE之

间连接使用直连电缆,即DTE的TXD接DCE的TXD,RTS接RTS, CTS接

RJ-45转DB-9转换头的线序为一一对应,接console server时需要配合左右全反的8芯RJ-45电缆,

这样才能实现收发对应。

RJ-45(母) DB-9(母)

1 (RTS) - 7 (RTS)

2 (DTR) - 4 (DTR)

3 (TXD) - 3 (TXD)

4 (GND) - 5 (GND)

5 (GND) - 5 (GND) or N/A

6 (RXD) - 2 (RXD)

7 (DSR) - 6 (DSR)

8 (CTS) - 8 (CTS)

针脚号的识别见下面插图:

RJ-45水晶头,从进入电缆的方向看,卡子向下,从左到右依次为1-8。

DB-9母头,从接线方向看,宽的一边向上,上面一排左到右依次为1-5,下面一排左到右依次为

6-8。

用此转换头接console server和设备的时候,使用左右全反线序的RJ-45接头网线。

插图和线序详细说明参见:

Use this cable to configure a Cisco router thru

the Console port at the router.

9 pin D-SUB

female connector

at the computer

DB-9 RJ-45 Dir

2

3

3

6

8 pin RJ45 (8P8C)

Receive

Data

Transmit

Data

Data

Terminal 4 7

Ready

Ground

(use as 5 5

shield)

Ground

(use as 5 4

shield)

Data Set

Ready

6 2

Request to

Send

7 8

Clear to

Send

8 1

Wire colors:

1 Black

2 Brown

3 Red

4 Orange

5 Yellow

6 Green

7 Blue

8 Grey (or White)

male connector

at the Cisco router

cable