金融网点QoS综合实验
- 格式:docx
- 大小:72.04 KB
- 文档页数:8
实验课题:金融网点QoS王江宏梁小龙2012.09.3实验前的准备1、实验拓扑2、实验内容概述(主要使用的技术及其作用)1、地址自行规划2、生产的流量标记为AF41,办公的流量标记为AF433、接入到广域网时,流量整形为2M4、当出口发生拥塞时,确保生产流量进入低延迟队列,带宽为1M;办公流量进入CBWFQ,带宽为512K。
3、实际应用场合(该技术在实际项目中如何部署)随着因特网的普及,网络和人们生活的关系愈加密切,多样化的业务(数据、语音、视频等)应运而生。
通常,这些业务对于通信条件的要求各不相同:数据业务对传递的可靠性要求非常高,误码率是最重要的指标,但可以容忍一定的时延;而语音和视频这类业务具有流量大、延续性、实时性和相关性等特点,时延会造成语音的变声、变调和视频的马赛克等现象,因此对传输时延和抖动要求非常严格。
3、实验原理1.配置CBWFQ的方法为MQC形式,使用class-map匹配指定的流量划分指定的带宽,这样指定的流量就只能依靠IP优先级从特定的带宽中分配带宽,最后将CBWFQ应用到接口2.在CBWFQ中,没有办法保证重要的数据能够一直得到服务,对于这样的情况,就需要一种队列技术能够为特定的数据流保证特定量的带宽,LLQ低延迟队列是为对延迟抖动较敏感的语音或视频流量设计的。
5、设备选型(该实验可以用哪些设备完成,包括锐捷或友商产品)此实验用的是GNS3模拟器,六台路路由器三台模拟主机试验后的输出1、实验步骤第一步:根据拓扑,配置各个接口的ip.第二步:配置路由,使各个节点路由可达第三步:测试连通性第四步: 配置qosclass-map match-all bangongmatch access-group 20class-map match-all shengchanmatch access-group 10policy-map CBWFQclass shengchanset ip dscp af41bandwidth 1000class bangongset ip dscp af43bandwidth 512class class-defaultbandwidth 24access-list 10 permit 10.1.1.0 0.0.0.255access-list 20 permit 20.1.1.0 0.0.0.255interface Serial2/0bandwidth 2048ip address 100.1.1.1 255.255.255.252serial restart-delay 0traffic-shape rate 2000000 50000 50000 1000no clns route-cache第五步:测试2、关键的配置命令R1:!interface Loopback0ip address 1.1.1.1 255.255.255.255no clns route-cache!interface FastEthernet0/0no ip addressshutdownduplex halfno clns route-cache!interface FastEthernet1/0ip address 12.1.1.1 255.255.255.252ip ospf network point-to-pointduplex autospeed autono clns route-cache!interface FastEthernet1/1ip address 10.1.1.1 255.255.255.0duplex autospeed autono clns route-cache!interface FastEthernet2/0ip address 20.1.1.1 255.255.255.0duplex auto!interface FastEthernet2/1ip address 30.1.1.1 255.255.255.0duplex autospeed autono clns route-cache!!router ospf 1router-id 1.1.1.1log-adjacency-changespassive-interface FastEthernet1/1passive-interface FastEthernet2/0network 10.1.1.1 0.0.0.0 area 0network 12.1.1.1 0.0.0.0 area 0network 20.1.1.1 0.0.0.0 area 0network 30.1.1.1 0.0.0.0 area 0 R2:class-map match-all bangongmatch access-group 20class-map match-all shengchanmatch access-group 10!!policy-map CBWFQclass shengchanset ip dscp af41bandwidth 1000class bangongset ip dscp af43bandwidth 512class class-defaultbandwidth 24!!!interface Loopback0ip address 2.2.2.2 255.255.255.255no clns route-cache!interface FastEthernet0/0no ip addressshutdownduplex halfno clns route-cache!interface FastEthernet1/0ip address 12.1.1.2 255.255.255.252ip ospf network point-to-pointduplex autospeed autono clns route-cache!!interface Serial2/0bandwidth 2048ip address 100.1.1.1 255.255.255.252serial restart-delay 0traffic-shape rate 2000000 50000 50000 1000(整形)no clns route-cache!ressrouter ospf 1router-id 2.2.2.2log-adjacency-changesnetwork 12.1.1.2 0.0.0.0 area 0default-information originate(下发默认)!ip classlessip route 0.0.0.0 0.0.0.0 100.1.1.2!access-list 10 permit 10.1.1.0 0.0.0.255 (抓流量)access-list 20 permit 20.1.1.0 0.0.0.255(抓流量)R3:!interface Loopback0ip address 200.1.1.1 255.255.255.255no clns route-cache!!interface Serial1/0bandwidth 2048ip address 100.1.1.2 255.255.255.252serial restart-delay 0no clns route-cache!ip route 10.1.1.0 255.255.255.0 100.1.1.1ip route 12.1.1.0 255.255.255.0 100.1.1.1ip route 20.1.1.0 255.255.255.0 100.1.1.1ip route 30.1.1.0 255.255.255.0 100.1.1.1!3实验结果验证(查看结果的方法或命令)1.生产ping 200.1.1.1shengchanzhuji#ping 200.1.1.1 size 18024Type escape sequence to abort.Sending 5, 18024-byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:.!.!.Success rate is 40 percent (2/5), round-trip min/avg/max = 560/662/764 ms 没有整形前会有丢包整形后ping(生产ping 200.1.1.1)Type escape sequence to abort.Sending 5, 18024-byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 544/624/704 ms 整形后会发现丢包减少2.办公ping200.1.1.1banggongzhuji#ping 200.1.1.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 76/107/156 ms Ping 大包banggongzhuji#ping 200.1.1.1 size 18024Type escape sequence to abort.Sending 5, 18024-byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:!!!.!Success rate is 80 percent (4/5), round-trip min/avg/max = 528/586/644 ms Ping大包很慢会有丢包,默认大小ping很快,没有丢包整形后ping大包有丢包,很慢banggongzhuji#ping 200.1.1.1 size 18024Type escape sequence to abort.Sending 5, 18024-byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:.!..!Success rate is 40 percent (2/5), round-trip min/avg/max = 616/644/672 ms3.其它流量ping 200.1.1.1R6#ping 200.1.1.1 size 18024Type escape sequence to abort.Sending 5, 18024-byte ICMP Echos to 200.1.1.1, timeout is 2 seconds:!!.!!Success rate is 80 percent (4/5), round-trip min/avg/max = 512/570/656 ms其它流量在带宽中占得比例很小,在生产流量通信的时候,其它流量会有丢包现象,整形前不丢包。