1、配置名称为limit_20m的CAR模板指定限速带宽大小,并将该模板在接口10GE1/0/1下应用。
qos car limit_20m cir 20480 cbs 204800
interface 10ge 1/0/1
qos car inbound limit_20m
2、用流策略限速,对IP地址为192.168.1.10的PC限速,带宽限制为4M。
acl 2000
rule permit source 192.168.1.10 0.0.0.0
quit
traffic classifier limit_4m
if-match acl 2000
quit
traffic behavior limit_4m
car cir 4096
quit
traffic policy limit_4m
classifier limit_4m behavior limit_4m
quit
interface 10ge 1/0/1
traffic-policy limit_4m inbound
quit
CE6800限速设置
[~HUAWEI]qos car 1000m cir 1000 mbps -------做一个限速策略
[*HUAWEI]comm
[~HUAWEI]interface 10GE 1/0/43
[~HUAWEI-10GE1/0/43]qos car inbound 1000m -----在做限速
[*HUAWEI-10GE1/0/43]comm
[~HUAWEI-10GE1/0/43]dis this
interface 10GE1/0/43
qos lr cir 1 gbps outbound
qos car inbound 1000m
评论列表