|
发表于 2004-7-9 20:05:00
|
显示全部楼层
打开 开始 ->附件->通信->仿真终端 设置速率 9600 连接
配置: enable config term interface Serial0/0 ip address 192.168.1.1 255.255.255.0 ip route-cache flow clockrate 115200 no shutdown 键入:ctrl C
配置完成
检查端口状态: 键入 show interface ser0/0
显示示例: Router-1#show interface ser1/7 Serial1/7 is down, line protocol is down Hardware is CD2430 in sync mode Internet address is 192.168.1.1/24 MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation HDLC, loopback not set Keepalive set (10 sec) Last input never, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/0/32 (active/max active/max total) Reserved Conversations 0/0 (allocated/max allocated) Available Bandwidth 96 kilobits/sec 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions DCD=up DSR=up DTR=down RTS=down CTS=up Router-1#
检测硬件状态: 键入 show controllers serial 0/0
显示示例:
Router-1#show controllers serial 1/7 CD2430 Slot 1, Port 7, Controller 1, Channel 3, Revision 19 Channel mode is synchronous serial idb 0x81541528, buffer size 1524, RS-232 DCE cable, clockrate 115200
Global registers rpilr 0x2, rir 0x0, risr 0x0, rfoc 0x0, rdr 0x0 tpilr 0x1, tir 0x0, tisr 0x0, tftc 0x0, tdr 0x0 mpilr 0x3, mir 0x0, misr 0x0 bercnt 0xFF, stk 0x0 Per-channel registers for channel 3 Option registers 0x02 0x00 0x42 0x67 0x60 0x00 0x00 Command and status registers cmr 0xC0, ccr 0x00, csr 0x88, msvr-rts 0x11, msvr-dtr 0x11 Clock option registers rcor 0x86, rbpr 0x01, tcor 0xC0, tbpr 0x09 Interrupt registers ier 0x89, livr 0x1C, licr 0x0C DMA buffer status 0x00 DMA receive registers arbaddr 0x2DAE744, arbcnt 1548, arbsts 0x1 brbaddr 0x2DAEDC4, brbcnt 1548, brbsts 0x1 rcbaddr 0x0 DMA transmit registers atbaddr 0x0, atbcnt 0, atbsts 0x0 btbaddr 0x0, btbcnt 0, btbsts 0x0 tcbaddr 0x0 Special character registers schr1 0x00, schr2 0x00, schr3 0x00, schr4 0x00 scrl 0x0, scrh 0x0, lnxt 0x11 Driver context information Context structure 0x81543EC4, Register table 0x40800500 Serial Interface Control 5:1 Register (0x40800C0E) is 0x80 Adaptor Flags 0x0 Serial Modem Control Register (0x40800C10) is 0x1D Receive static buffer 0x814BD274 Receive particle buffers 0x815444C0, 0x81544500 Transmit DMA buffers 0x0, 0x0, 0x0, 0x0 Transmit packet with particles 0x0, first word is 0x0 Interrupt rates (per second) transmit 0, receive 0, modem 0 True fast-switched packets 0 Semi fast-switched packets 0 Transmitter hang count 0 Residual indication count 0 Bus error count 0 Aborted short frames count 0 CRC short frames count 0 Tx DMA low threshold count 0 Error counters CTS deassertion failures 0 Nested interrupt errors transmit 0, receive 0, modem 0
|
|