XX单位QoS实施方案
XX区县到地州的线路为4M,根据业务要求,使用基于类的队列(CBQ)进行拥塞管理,给予MIS系统较高优先级,标记为af31数据流,当网络发生拥塞时保障至少1.5M的带宽。视频会议系统给予同样优先级,标记为af41数据流,进行确保转发,保证2M带宽。其他数据分配较低优先级,在线路拥塞时预留0.5M带宽。当网络中只有MIS系统和其他业务数据流且发生拥塞时,保障MIS系统有3M的带宽,并给其他业务保留1M带宽。网络未发生拥塞时,设备对各数据流进行尽力转发,先到的数据流优先转发。拓扑结构及数据流如下图:

具体配置方法如下。
一、区县MSR5040/3040路由器
1.在内网口对本区县访问地州的不同数据流进行标记,如某地州MIS服务器IP地址为1.1.0.10,MCU地址为1.2.2.5。
//定义访问MIS服务器的数据流ACL
Acl number 3010
rule permit ip source any destination 1.1.0.10 0
//定义访问MCU数据流ACL
Acl number 3015
rule permit ip source any destination 1.2.2.5 0
//定义访问其它数据流ACL
Acl number 3020
rule deny ip source any destination 1.2.2.5 0
rule deny ip source any destination 1.1.0.10 0
Rule permit ip
//定义MIS系统流
traffic classifier af31_MIS
If-match acl 3010
//定义视频流
traffic classifier af41_shipin
If-match acl 3015
//定义其它数据流
traffic classifier af11_others
If-match acl 3020
//定义对MIS系统数据流进行标记的行为
traffic behavior af31_behav
Remark dscp af31
//定义对其它数据流进行标记的行为
traffic behavior af11_behav
Remark dscp af11
//定义对视频系统数据流进行标记的行为
traffic behavior af41_behav
Remark dscp af41
//定义QoS策略,将已配置的行为指定给对应的流
Qos policy remark
classifier af31_MIS behavior af31_behav
classifier af41_shipin behavior af41_behav
classifier af11_others behavior af11_behav
//在内网口上应用该QoS策略,对不同的数据流进行标记。
interface GigabitEthernet0/0
Qos apply policy remark inbound
2.当数据包通过广域网口转发出去时,对MIS系统数据流进行确保转发(af31),最小带宽为1.5M(35%)。对视频系统数据流进行确保转发,最小带宽为2M(50%)。
//定义MIS系统流
traffic classifier af31_MIS_out
If-match dscp af31
//定义视频流
traffic classifier af41_shipin_out
If-match dscp af41
//定义其它流
traffic classifier af11_others_out
If-match dscp af11
//定义对MIS系统数据流指定35%带宽的行为
traffic behavior af31_behav_out
queue ef bandwidth pct 35
//定义对视频系统数据流指定50%带宽的行为
traffic behavior af41_behav_out
queue af bandwidth pct 50
//定义对其它系统数据流指定15%带宽的行为
traffic behavior af11_behav_out
queue af bandwidth pct 15
//定义QoS策略,将已配置的行为指定给对应的流
Qos policy out
classifier af31_MIS_out behavior af31_behav_out
classifier af41_shipin_out behavior af41_behav_out
classifier af11_others_out behavior af11_behav_out
//在外网口上应用该QoS策略,对不同的数据给予不同优先级
interface Serial8/0
Qos apply policy out outbound
二、地州SR6608路由器
1.在内网口对本地州访问区县的不同数据流进行标记,如某地州MIS服务器IP地址为1.1.0.10,MCU地址为1.2.2.5。
//定义访问MIS系统的数据流ACL
Acl number 3010
rule permit ip source 1.1.0.10 0 destination any
//定义访问MCU数据流ACL
Acl number 3015
rule permit ip source 1.2.2.5 0 Destination any
//定义访问其它数据流ACL
Acl number 3020
rule deny ip source 1.2.2.5 0 Destination any
rule deny ip source 1.1.0.10 0 destination any
Rule permit ip
//定义MIS系统流
traffic classifier af31_MIS
If-match acl 3010
//定义视频流
traffic classifier af41_shipin
If-match acl 3015
//定义其它流
traffic classifier af11_others
If-match acl 3020
//定义对MIS系统数据流进行标记的行为
traffic behavior af31_behav
Remark dscp af31
//定义对视频系统数据流进行标记的行为
traffic behavior af41_behav
Remark dscp af41
//定义对其它系统数据流进行标记的行为
traffic behavior af11_behav
Remark dscp af11
//定义QoS策略,将已配置的行为指定给对应的流
Qos policy remark_MIS
classifier af31_MIS behavior af31_behav
classifier af11_others behavior af11_behav
Qos policy remark_shipin
classifier af41_shipin behavior af41_behav
//在内网口上应用该QoS策略,对不同的数据流进行标记。
interface GigabitEthernet3/0/0
Qos apply policy remark_MIS inbound
interface GigabitEthernet3/0/1
Qos apply policy remark_shipin inbound
3.当数据包通过广域网口转发出去时,对MIS系统数据流进行确保转发(af31),最小带宽为1.5M(35%)。对视频系统数据流进行确保转发,最小带宽为2M(50%)。
//定义MIS系统流
traffic classifier af31_MIS_out
If-match dscp af31
//定义视频流
traffic classifier af41_shipin_out
If-match dscp af41
//定义其它系统流
traffic classifier af11_others_out
If-match dscp af11
//定义对MIS系统数据流指定35%带宽的行为
traffic behavior af31_behav_out
queue ef bandwidth pct 35
//定义对视频系统数据流指定50%带宽的行为
traffic behavior af41_behav_out
queue af bandwidth pct 50
//定义对其它系统数据流指定15%带宽的行为
traffic behavior af11_behav_out
queue af bandwidth pct 15
//定义QoS策略,将已配置的行为指定给对应的流
Qos policy out
classifier af31_MIS_out behavior af31_behav_out
classifier af41_shipin_out behavior af41_behav_out
classifier af11_others_out behavior af11_behav_out
//在外网口上应用该QoS策略,对不同的数据给予不同优先级
interface Mp-group3/2/0
Qos apply policy out outbound
三、实施效果
实施前带宽使用情况:

实施后带宽使用情况:

QoS实施前,三类数据流相互争夺带宽,设备采用尽力转发,对于关键业务和非关键业务不做区别。QoS实施后,在网络发生拥塞时三类业务可以分配到规划带宽,基本满足现网业务需求。
2016年01月
本期文章
-
刊首语
-
公司动态
-
行业聚焦
-
产品推荐
-
案例介绍
-
服务明星
-
培训天地
-
经验共享