广域网协议的封装_第1页
广域网协议的封装_第2页
广域网协议的封装_第3页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、广域网协议的封装【实验名称】广域网协议的封装【实验目的】掌握广域网协议的封装类型和封装方法【背景描述】你是公司的网络管理员,两个分公司之间希望能够申请一条广域网专线进行 连接。公司现有锐捷路由器两台,希望你了解该设备的广域网接口所支持的协议, 以确定选择哪一种广域网链路。【技术原理】常见广域网专线技术有,DDN专线、PSTN/ISDN 专线、帧中继专线、X.25 专线等。数据链路层提供各种专线技术的协议,主要有 PPP、HDLC、X.25、 Frame-relay 以及 ATM 等。【实现功能】查看路由器广域网接口支持的数据链路层协议,并进行正确的封装。【实验设备】R1762路由器(1台)【实

2、验拓扑】【实验步骤】 步骤一查看广域网接口默认的封装类型:Routerl# show in terface serial 1/2serial 1/2 is UP , line protocol is UP/ 查看接口的状态,是否为 UPHardware is PQ2 SCC HDLC CONTROLLER serial查看接口 IP 地址的配置MTU 1500 bytes, BW 512 Kbit/ 查看接口的带宽为 512KEncapsulation protocol is HDLC, loopback not set/ 默认的圭寸装协议是HDLCKeepalive in terval is

3、 10 sec , setCarrier delay is 2 secRXload is 1 ,Txload is 1Queue ing strategy: WFQ5 minu tes in put rate 17 bits/sec, 0 packets/sec5 minu tes output rate 17 bits/sec, 0 packets/sec511 packets in put, 11242 bytes, 0 no bufferReceived 511 broadcasts, 0 run ts, 0 gia nts0 in put errors, 0 CRC, 0 frame,

4、 0 overr un, 0 abort511 packets output, 11242 bytes, 0 underruns0 output errors, 0 collisi on s, 1 in terface resets1 carrier tran siti onsV35 DTE cable/ 该接口为 DTE 端DCD=up DSR=up DTR=up RTS=up CTS=up步骤二查看广域网接口支持的封装类型:RouterA(c on fig)#i nterface serial 1/2RouterA(c on fig-if)#e ncapsulati on ?en caps

5、ulation是圭寸装数据链路层协议的命令frame-relayFrame Relay n etworks/帧中继协议hdlcserial HDLC synchronous/高级数据链路控制协议lapbLAPB(X.25 Level 2)/X.25的二层协议pppPoin t-to-Po int protocol/PPP点到点协议x25X.25/X.25 协议步骤三更改广域网接口的封装类型:PPP封装/ 进行 serial 1/2/将接口协议封装为 PPPRouterA(c on fig)#i nterface serial 1/2RouterA(config-if)#encapsulatio

6、n pppRouterA(c on fig-if)#e ndRouterA#show in terface serial 1/2/ 查看接口的圭寸装协议serial 1/2 is UP , line protocol is DOWNHardware is PQ2 SCC HDLC CONTROLLER serialMTU 1500 bytes, BW 2000 KbitEn capsulati on protocol is PPP, loopback not setKeepalive in terval is 10 sec , setCarrier delay is 2 secRXload i

7、s 1 ,Txload is 1LCP Reqse nt/PPP 协议相关参数Closed: ipcpQueueing strategy: FIFOOutput queue 0/40, 0 drops;In put queue 0/75, 0 drops5 minu tes in put rate 14 bits/sec, 0 packets/sec5 minu tes output rate 36 bits/sec, 0 packets/sec403 packets in put, 8866 bytes, 0 no bufferReceived 246 broadcasts, 0 run t

8、s, 0 gia nts15 in put errors, 0 CRC, 15 frame, 0 overru n, 0 abort1011 packets output, 29156 bytes, 0 un derru ns0 output errors, 0 collisi ons, 59 in terface resets1 carrier tran siti onsV35 DCE cableDCD=up DSR=up DTR=up RTS=up CTS=upFrame-Relay 圭寸装RouterA(config)#interface serial 1/2/ 进行 serial 1/

9、2RouterA(config-if)#encapsulation frame-relay/ 将接口协议圭寸装为帧中继RouterA(c on fig-if)#e ndRouterA#show in terface serial 1/2/ 查看接口的圭寸装协议serial 1/2 is UP , line protocol is UPHardware is PQ2 SCC HDLC CONTROLLER serialMTU 1500 bytes, BW 2000 KbitEncapsulation protocol is FRAME RELAY, loopback not set/ 圭寸装协议

10、Keepalive in terval is 10 sec , setCarrier delay is 2 secRXload is 1 ,Txload is 1LMI enq sent 1, LMI status recvd 0, LMI update recvd 0, DTE LMI upLMI enq recvd 0, LMI status sent 0, LMI update sent 0LMI DLCI 0 LMI type is CCITT, frame relay DTE in terface broadcasts 0/帧中继协议相关参数Queueing strategy: FI

11、FOOutput queue 0/40, 0 drops;In put queue 0/75, 0 drops5 minu tes in put rate 15 bits/sec, 0 packets/sec5 minu tes output rate 36 bits/sec, 0 packets/sec405 packets in put, 8910 bytes, 0 no bufferReceived 246 broadcasts, 0 run ts, 0 gia nts15 in put errors, 0 CRC, 15 frame, 0 overru n, 0 abort1017 p

12、ackets output, 29239 bytes, 0 un derru ns0 output errors, 0 collisi ons, 61 in terface resets1 carrier tran siti onsV35 DCE cableDCD=up DSR=up DTR=up RTS=up CTS=upX.25封装RouterA(c on fig)#i nterface serial 1/2/ 进行 serial 1/2RouterA(c on fig-if)#e ncapsulatio n X25/将接口协议封装为X.25RouterA(c on fig-if)#e n

13、dRouterA#show in terface serial 1/2/查看接口的封装协议serial 1/2 is UP , line protocol is DOWNHardware is PQ2 SCC HDLC CONTROLLER serialMTU 1500 bytes, BW 2000 Kbit/查看封装协议En capsulati on protocol is X.25, loopback not setKeepalive in terval is 0 sec , no setCarrier delay is 2 secRXIoad is 1 ,Txload is 1LAPB

14、DTE, modulo 8, k 7, N1 12056, N2 20T1 3000, interface outage (partial T3) 0, T4 0State SABMSENT, VS 0, VR 0, Remote VR 0, Retra nsmissio ns 2Queues: U/S frames 0, I frames 0, un ack. 0, reTx 0IFRAMEs 0/0 RNRs 0/0 REJs 0/0 SABM/Es 2/0 FRMRs 0/0 DISCs 0/0X25 DTE, address , state R1, modulo 8Defaults:

15、DEF en capsulati on, idle 0, nvc 3in put/output window sizes 2/2, packet sizes 128/128Timers: T20 180, T21 200, T22 180, T23 180, TH 0Chann els: Incoming-only none, Two-way 1-1024,Outgo ing-onlynoneRESTARTs 0/0 CALLs 0+0/0+0/0+0 DIAGs 0/0/X.25 协议相关参数Queueing strategy: FIFOOutput queue 0/40, 0 drops;In put queue 0/75, 0 drops5 minu tes in put rate 16 bits/sec, 0 packets/sec5 minu tes output rate 32 bits/sec, 0 packets/sec407 packets in put, 8954 bytes, 0 no bufferReceived 246 broadcasts, 0 run ts, 0 gia nts15 in put errors, 0

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论