当前位置:首页 > 技术与方案 > 网络管理相关

HDLC背对背连接

(2012-09-05 20:12:30)

前言

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

硬件和软件版本

  • 此配置是可适用的对所有Cisco 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#

更多
关闭窗口 打印 
网站首页    -    联系我们    -   收藏本站    -    网站地图                                                               客户服务热线:0571-85023000
本网站所有网页信息已申请知识产权和著作权保护,版权归四海光纤公司所有,未经授权禁止任何人复制或镜像,违者必究。
公司主营:杭州光纤光缆视频会议系统,是专业的通信网络工程、视频会议系统建设专家

中华人民共和国备案号:浙ICP备10018243号