Section 5: Qos
5.1 流分类
interface g0/0/0
trust dscp override
quit
qos map-table dscp-to-dscp
inbound 27 outbound 7
acl 3000
rule 10 permit udp destination-port 6000
rule 20 permit tcp source 10.1.24.0 0.0.0.255
interface g0/0/10
traffic-remark inbound acl 3000 rule 10 dscp 10
traffic-remark inbound acl 3000 rule 20 dscp 20
5.2 限速整形
interface g0/0/2
qos lr inbound cir 20000
interface g0/0/4
qos lr outbound cir 18000
5.3 CBQ
drop-profile drop #丢弃简述
wred dscp
dscp af11 low-limit 20 high-limit 95 discard-percentage 30
traffic classifier llq #流分类
if-match dscp ef
traffic classifier af
if-match dscp af11
traffic behavior llq #流行为
queue llq bandwidth pct 30
traffic behavior af
queue af bandwidth pct 40
drop-profile drop
traffic policy policy #流策略
classifier llq behavior llq
classifier af behavior af
interface g0/0/0
traffic-policy policy outbound