#
drop-profile AF11
wred dscp
dscp af11 low-limit 20 high-limit 95 discard-percentage 30 超过百分二十开始丢包 超过95丢弃所有 丢弃比例30
#
traffic classifier EF operator or EF的标签报文
if-match dscp ef
traffic classifier AF11 operator or AF11的标签报文
if-match dscp af11
#
traffic behavior EF 不能超带宽30
queue ef bandwidth pct 30
traffic behavior AF11 不能超带宽40
queue af bandwidth pct 40
drop-profile AF11 把刚才策略插入
#
traffic policy CBQ 绑定
classifier EF behavior EF
classifier AF11 behavior AF11
interface GigabitEthernet0/0/0 应用
ip address 10.1.12.2 255.255.255.0
traffic-policy CBQ outbound
流量监管配置案例:
通过CAR实现
qos car inbound cir 8 cbs 1504 pbs 2504 green pass yellow pass red discard
MQC方式可以抓路由