一、配置ACL
acl number 3000
rule 10 permit ip source 192.168.x.x 0ide
二、匹配感興趣流
traffic classifier tc-100 operator and
if-match acl 3000接口
三、配置策略動做(限速爲15M)
traffic behavior tb-1
car cir 15360 pir 15360 cbs 2048000 pbs 2048000 green pass yellow pass red discardip
四、配置策略
traffic policy tp-1
classifier tc-100 behavior tb-1ci
五、接口調用(此處爲調用在出方向)
interface GigabitEthernet0/0/1
traffic-policy tp-1 outboundit