一.学习qos其实看懂配置基本上就懂原理了,所以学习qos可以直接看怎么配置来学习qos是怎么工作的。
1.上面拓扑通过ospf 将三层路由打通,然后开始配置qos,首先配置qos的分流并打上DSCP值:
在AR1上面分流打标记
acl number 3000
rule 5 permit ip destination 172.16.1.2 0
acl number 3001
rule 5 permit ip destination 172.16.1.3 0
acl number 3002
rule 5 permit ip destination 172.16.1.4 0
#
traffic classifier pc2 operator or
if-match acl 3001
traffic classifier pc1 operator or
if-match acl 3000
traffic classifier pc3 operator or
if-match acl 3002
#
traffic behavior pc2
remark dscp af22
traffic behavior pc1
remark dscp af11
traffic behavior pc3
remark dscp ef
#
traffic policy test
classifier pc1 behavior pc1
classifier pc2 behavior pc2
cl