【广域网实验室】【CPOS链路配置】_第1页
【广域网实验室】【CPOS链路配置】_第2页
【广域网实验室】【CPOS链路配置】_第3页
【广域网实验室】【CPOS链路配置】_第4页
【广域网实验室】【CPOS链路配置】_第5页
已阅读5页,还剩4页未读, 继续免费阅读

下载本文档

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

文档简介

1、CPOS链路配置【实验名称】CPOS链路配置【实验目的】通过本实验掌握COPS基本配置,理解SDH协议原理。【背景描述】某企业通过SDH线路与其分公司进行通讯,实验拓扑图如下所示,需要在SDH链路上使用PPP的CHAP认证方式保证网络安全,使用动态路由协议OSPF实现总公司与分公司之间网络互通。【实验拓扑】 【实验设备】RSR30-44路由器2台【实验步骤】第一步、配置CPOS接口RSR-A(config#controller sonet 4/0RSR-A(config-controller#framing sdhRSR-A(config-controller#aug mapping au-4

2、RSR-A(config-controller#au-4 1 tug-3 1RSR-A(config-ctrlr-tug3#tug2 4 e1 2 using-e1RSR-A(config#int serial 4/0.1/1/4/2:0RSR-A(config-if-Serial 4/0.1/1/4/2:0#ip address 17.1.1.2 255.255.255.252RSR-B(config#controller sonet 4/0RSR-B(config-controller#framing sdhRSR-B(config-controller#aug mapping au-4R

3、SR-B(config-controller#au-4 1 tug-3 1RSR-B(config-ctrlr-tug3#tug2 4 e1 2 using-e1RSR-B(config#int serial 4/0.1/1/4/2:0RSR-B(config-if-Serial 4/0.1/1/4/2:0#ip address 17.1.1.1 255.255.255.252第二步、配置PPP认证RSR-A(config#username RSR-B password 123RSR-A(config#int serial 4/0.1/1/4/2:0RSR-A(config-if-Serial

4、 4/0.1/1/4/2:0#encapsulation PPPRSR-A(config-if-Serial 4/0.1/1/4/2:0#ppp authentication chapRSR-B(config#username RSR-A password 123RSR-B(config#int serial 4/0.1/1/4/2:0RSR-B(config-if-Serial 4/0.1/1/4/2:0#encapsulation PPP第三步、配置OSPF路由协议RSR-A(config#router ospf 10RSR-A(config-router#router-id 1.1.1.

5、1RSR-A(config-router#network 17.1.1.0 0.0.0.3 area 0RSR-A(config-router#network 192.168.1.0 0.0.0.255 area 10RSR-A(config-router#network 192.168.2.0 0.0.0.255 area 10RSR-B(config#router ospf 10RSR-B(config-router# router-id 2.2.2.2RSR-B(config-router# network 10.1.1.0 0.0.0.255 area 20RSR-B(config-r

6、outer# network 10.1.2.0 0.0.0.255 area 20RSR-B(config-router# network 17.1.1.0 0.0.0.3 area 0第四步、配置交换网络在本实验中采用的NMX24ESW交换模块,在配置时需要进入service-module模式。RSR-A#service-module fastEthernet 3/0 sessionRuijie#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Ruijie(config#vlan 10

7、Ruijie(config#vlan 20Ruijie(config#interface range fastEthernet 0/1-9Ruijie(config-if-range#switchport access vlan 10Ruijie(config#interface range fastEthernet 0/10-20Ruijie(config-if-range#switchport access vlan 20配置完成后,使用Ctrl+X退出service-module模式RSR-A(config#int fastEthernet 3/0.10RSR-A(config-subi

8、f#interface FastEthernet 3/0.10RSR-A(config-subif#encapsulation dot1Q 10RSR-A(config-subif#ip address 192.168.1.254 255.255.255.0 RSR-A(config#interface FastEthernet 3/0.20RSR-A(config-subif#encapsulation dot1Q 20RSR-A(config-subif#ip address 192.168.2.254 255.255.255.0RSR-B#service-module fastEther

9、net 3/0 sessionRuijie#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Ruijie(config#vlan 30Ruijie(config#vlan 40Ruijie(config#interface range fastEthernet 0/1-9Ruijie(config-if-range#switchport access vlan 30Ruijie(config#interface range fastEthernet 0/10-20Ruijie(conf

10、ig-if-range#switchport access vlan 40配置完成后,使用Ctrl+X退出service-module模式RSR-B(config#int fastEthernet 3/0.10RSR-B(config-subif#interface FastEthernet 3/0.30RSR-B(config-subif#encapsulation dot1Q 130RSR-B(config-subif#ip address 10.1.1.1 255.255.255.0RSR-B(config#interface FastEthernet 3/0.40RSR-B(confi

11、g-subif#encapsulation dot1Q 40RSR-B(config-subif#ip address 10.1.2.1 255.255.255.0第五步、监控与维护RSR-B#sh controller sonet 4/0sonet 4/0 is up.Clock source : lineFraming sdh. Mapping : au-4 .Config:Alarm reporting enable for:BER thresholds: SF=10e-3 SD=10e-6.J0=1 C2=2.J1 length=16, content is Red-Giant.Det

12、ect:Pci clock is 66M.J0=1 C2=2.J1 Length=16, content is Red-Giant.Active Defect: None.Active Error: None.AU-4 1, TUG3 1 , TUG2 4 , E1 2 (c-12 1/1/4/2 is inuseMode :E1RSR-B#sh interfaces serial 4/0.1/1/4/2:0Index(dec:34 (hex:22Serial 4/0.1/1/4/2:0 is UP , line protocol is UPHardware is SerialInterfac

13、e address is: 17.1.1.2/30MTU 1500 bytes, BW 2000 KbitEncapsulation protocol is PPP, loopback not setKeepalive interval is 10 sec , setCarrier delay is 2 secRXload is 1 ,Txload is 1LCP OpenOpen: ipcpQueueing strategy: FIFOOutput queue 0/40, 0 drops;Input queue 0/75, 0 dropsJust for cpos statis: about

14、 rx0 pak failed, 0 raw max err, 0 unprov chanJust for cpos statis: about tx0 empty, 0 no valid err, 0 unprov chan0 malformed pkt err, 0 partial packet err5 minutes input rate 85 bits/sec, 0 packets/sec5 minutes output rate 88 bits/sec, 0 packets/sec154 packets input, 6600 bytes, 0 no buffer, 0 dropp

15、edReceived 16 broadcasts, 0 runts, 0 giants0 input errors, 0 CRC, 0 frame, 0 overrun, 0 abort136 packets output, 6073 bytes, 0 underruns , 0 dropped0 output errors, 0 collisions, 0 interface resetsRSR-B#RSR-B#RSR-B#sh conRSR-B#sh controller ?e1 Controller typesonet Controller typeRSR-B#sh ip routeCo

16、des: C - connected, S - static, R - RIP, B - BGPO - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate de

17、faultGateway of last resort is no setC 10.1.1.0/24 is directly connected, FastEthernet 3/0.30C 10.1.1.1/32 is local host.C 10.1.2.0/24 is directly connected, FastEthernet 3/0.40C 10.1.2.1/32 is local host.C 17.1.1.0/30 is directly connected, Serial 4/0.1/1/4/2:0C 17.1.1.1/32 is directly connected, Serial 4/0.1/1/4/2:0C 17.1.1.2/32 is local host.O IA 192.168.1.0/24 110/51 via 17.1.1.1,

温馨提示

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

最新文档

评论

0/150

提交评论