免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1023 | 回复: 0
打印 上一主题 下一主题

HDLC背对背连接 [复制链接]

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-20 09:01 |只看该作者 |倒序浏览

前言
本文为高级数据链路控制(HDLC)背对背连接提供示 例配置。您能使用它验证您的连接和硬件适当地运作。
硬件和软件版本

  • 此配置是可适用的对所有Cisco IOS软 件版本。
  • DCE边用广域网DCE电缆连接 。
  • DTE边用广域网DTE电缆连接。

欲知关于广域
网DCE/DTE电缆的更多信息请点击此处
[/url]

网络图
本文根据以下配置:


在此配置, 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#


本文来自ChinaUnix博客,如果查看原文请点:[url]http://blog.chinaunix.net/u/4206/showart_500556.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP