Chinaunix首页 | 论坛 | 博客
  • 博客访问: 594272
  • 博文数量: 841
  • 博客积分: 5000
  • 博客等级: 大校
  • 技术积分: 5010
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-28 10:08
文章分类

全部博文(841)

文章存档

2011年(1)

2008年(840)

我的朋友

分类:

2008-10-28 10:23:10


  前言
  本文为高级数据链路控制(HDLC)背对背连接提供示 例配置。您能使用它验证您的连接和硬件适当地运作。
  
  硬件和软件版本
  此配置是可适用的对所有 IOS软 件版本。
  DCE边用广域网DCE电缆连接 。
  DTE边用广域网DTE电缆连接。
  欲知关于广域网DCE/DTE电缆的更多信息请点击此处 。
  
  网络图
  本文根据以下配置:
  

  在此配置, Prasit作为DCE和Spicey是DTE。
  
  配置
  
  Prasit
  interface Serial0
  ip address 5.0.2.1 255.255.255.0
  clockrate 64000
  no cdp enable
  
  Spicey
  interface Serial1
  ip address 5.0.2.2 255.255.255.0
  no cdp enable
  
  show命令
  使用以下show命令测试您的网络适当地运行:
  
  show controllers
  ping
  show interfaces
  如下 所示的输出是输入这些命令的结果在我们在此示例配置使用的设备 。
  
  我们能使用 show controllers命令表示, 物理层工作和确定什么类型的电缆连接。我们能从输出发现 在该Prasit之下是DCE和Spicey是DTE:
  
  prasit#show controllers serial 0
  HD unit 0, idb = 0x1D3A2C, driver structure at 0x1DAFE8
  buffer size 1524 HD unit 0, V.35 DCE cable, clockrate 64000
  spicey#show controllers serial 1
  HD unit 1, idb = 0x153E94, driver structure at 0x15A1F8
  buffer size 1524 HD unit 1, V.35 DTE cable
  Prasit
  在Prasit,输入以下命令:
  prasit#ping 5.0.2.2
  Type escape sequence to abort.
  Sending 5, 100-byte ICMP Echos to 5.0.2.2, timeout is 2 seconds:
  !!!!!
  Success rate is 100 percent (5/5), round-trip min/avg/max = 28/31/32 ms
  
  prasit#show interfaces serial 0
  Serial0 is up, line protocol is up
  Hardware is HD64570
  Internet address is 5.0.2.1/24
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
  reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation HDLC, loopback not set
  Keepalive set (10 sec)
  Last input 00:00:04, output 00:00:00, output hang never
  Last clearing of "show interface" counters 00:02:23
  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/1/256 (active/max active/max total)
  Reserved Conversations 0/0 (allocated/max allocated)
  Available Bandwidth 1158 kilobits/sec
  5 minute input rate 0 bits/sec, 1 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
  29 packets input, 1868 bytes, 0 no buffer
  Received 14 broadcasts, 0 runts, 0 giants, 0 throttles
  0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
  30 packets output, 1890 bytes, 0 underruns
  0 output errors, 0 collisions, 0 interface resets
  0 output buffer failures, 0 output buffers swapped out
  0 carrier transitions
  DCD=up DSR=up DTR=up RTS=up CTS=up
  prasit#
  
  Spicey
  输入以下命令在Spicey:
  
  spicey#ping 5.0.2.1
  
  Type escape sequence to abort.
  Sending 5, 100-byte ICMP Echos to 5.0.2.1, timeout is 2 seconds:
  !!!!!
  Success rate is 100 percent (5/5), round-trip min/avg/max = 32/32/32 ms
  
  spicey#show interfaces serial 1
  Serial1 is up, line protocol is up
  Hardware is HD64570
  Internet address is 5.0.2.2/24
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
  reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation HDLC, loopback not set
  Keepalive set (10 sec)
  Last input 00:00:07, output 00:00:03, output hang never
  Last clearing of "show interface" counters 00:03:35
  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/1/256 (active/max active/max total)
  Reserved Conversations 0/0 (allocated/max allocated)
  5 minute input rate 0 bits/sec, 1 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
  41 packets input, 2524 bytes, 0 no buffer
  Received 21 broadcasts, 0 runts, 0 giants, 0 throttles
  0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
  46 packets output, 2980 bytes, 0 underruns
  0 output errors, 0 collisions, 2 interface resets
  0 output buffer failures, 0 output buffers swapped out
  6 carrier transitions
  DCD=up DSR=up DTR=up RTS=up CTS=up
  spicey#
【责编:admin】

--------------------next---------------------

阅读(381) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~