Juniper M10i 路由器的QoS配置示例
一、QoS策略标准
按目前QoS的现有分类标准(缺省VPLS分类器、缺省IP优先分类器、缺省MPLS分类器、缺省DSCP分类器、缺省IEEE 802.1p分类器、缺省IEEE 802.1ad分类器),由于各厂家品牌不同,同一品牌型号不同,同一型号操作系统版本异样,且各厂家采用标准不一,QoS代码实现也不尽相同。因此,云南铜业(集团)有限公司在《云铜信息系统基础建设技术标准V3》中采用DSCP值与IP优先级对应的方式,定义了集团公司网络中通用的QoS分类值如下:
室内装饰设计师QoS策略 |
业务类别 | 优先级要求 | DSCP值 | IP优先级 | 适应队列 |
湘西特色 语音应用 | 高 | CS5 | 5 | LLQ |
视频应用 | 高 | CS4 | 4 | CBWFQ |
关键应用 | 低 | CS3 | 3 情感作文 | CBWFQ |
办公及其它应用 | 端午节的简介无 | 缺省值 | 缺省值 | CBWFQ |
| | | | |
注:①QoS——指Quality of Service,即服务质量。
②VPLS——指Virtual Private LAN Subnet,即虚拟专用LAN子网段。
③MPLS——指Multi-Protocol Label Switching,即多协议标签交换技术。
④DSCP——指Differentiated Services Code Point,即差分服务代码点。
⑤LLQ——指Low Latency Queuing,即低延迟队列。
⑥CBWFQ——指Class-Bad Weighted Fair Queuing,即基于类的加权公平队列。
⑥PLP——指Packet Loss Priority,即包丢失优先级。
为确保视频会议数据的流畅,公司提供如下路由器的QoS配置示例,仅供参考。请大家根据各自路由器类型及操作系统版本,制订适合自己的QoS代码实现。
二、M10i路由器QoS配置示例
#①配置Forwarding class的queue,配置每个queue的名字和优先级。
宫外怀孕初期症状
class-of-rvice forwarding-class {
queue 7 fcNetwrok priority high;
queue 5 fcVoice priority high;
queue 4 fcVideo priority high;
queue 3 fcKeyApp priority low;
queue 0 fcDefault priority low;
}
#②定义每一个的queue的Classifier。
class-of-rvice classifiers {
inet-precedence precClassifiers {
forwarding-class fcNetwork {
loss-priority high code-points 111;
}
forwarding-class fcNetwork {
loss-priority low code-points 101;
}
forwarding-class fcVoice {
loss-priority high code-points 101;
}
forwarding-class fcVideo {
loss-priority high code-points 100;
}
forwarding-class fcKeyApp {
loss-priority low code-points 011;
}
forwarding-class fcDefault {
loss-priority low code-points [ 000 001 010 ];
}
}
}
#③配置RED的Drop-Profile的Fill-Level、Drop-Probability。
class-of-rvice drop-profiles {
dropVoice {
interpolate {
fill-level [ 50 75 100 ];
drop-probability [ 1 50 100 ];
}
}
dropVideo {
interpolate {
fill-level [ 40 70 100 ];
drop-probability [ 1 50 100 ];
}
}
dropKeyApp {
interpolate {
fill-level [ 30 65 100 ];
drop-probability [ 1 50 100 ];
}
dropDefault {
interpolate {
fill-level [ 20 60 100 ];
drop-probability [ 1 50 100 ];柑橘木虱
}
}
#④定义Rewrite-Rules。
class-of-rvice rewrite-rules {
inet-precedence rrMarkPrec {
forwarding-class fcNetwork {
loss-priority high code-point 111;
}
forwarding-class fcVoice {
loss-priority high code-point 101;
}
forwarding-class fcVideo {
loss-priority high code-point 100;
}
forwarding-class fcKeyApp {
loss-priority low code-point 011;
}
forwarding-class fcDefault {美女性感图库
loss-priority low code-point 000;
}
}
}
#⑤配置Schedulers的传送速率,Buffer-size,优先级,drop-profile-map。
class-of-rvice schedulers {
schNetwork {
priority strict-high;
}
schVoice {
transmit-rate percent 5;
buffer-size temporal 5000;
priority high;
}
schVideo {
transmit-rate percent 75;
buffer-size temporal 20000;
priority high;
}
虚壹而静schKeyApp {
transmit-rate percent 5;
buffer-size temporal 5000;
priority low;
}
schDefault {
transmit-rate percent 10;
buffer-size temporal 10000;
priority low;
drop-profile-map loss-priority low protocol tcp drop-profile dropDefault;
}
}
#⑥配置Schedulers-Map。
class-of-rvice scheduler-maps {
schmapNetwork {
forwarding-class fcNetwork scheduler schNetwork;
forwarding-class fcVoice scheduler schVoice;
forwarding-class fcVideo scheduler schVideo;
forwarding-class fcKeyApp scheduler schKeyApp;
forwarding-class fcDefault scheduler schDefault;
}
}
#⑦在端口上应用Schedulers-Map,IP的Classifiers和Rewrite-rules
class-of-rvice interfaces {
so-0/0/0 {
scheduler-map schmapNetwork;
unit 0 {
classifiers {
inet-precedence precClassifiers;
}
rewrite-rules {
inet-precedence rrMarkPrec;