1.对某网段设备进行限速对IP地址为192.168.1.0网段设备进行限速,带宽限制为50M。
2. system-view [HUAWEI] acl 2000[HUAWEI-acl-basic-2000] rule permit source 192.168.1.0 0.0.0.255[HUAWEI-acl-basic-2000] quit[HUAWEI] traffic classifier c1[HUAWEI-classifier-c1] if-match acl 2000[HUAWEI-classifier-c1] quit[HUAWEI] traffic behavior b1[HUAWEI-behavior-b1] car cir 51200[HUAWEI-behavior-b1] quit[HUAWEI] traffic policy p1[HUAWEI-trafficpolicy-p1] classifier c1 behavior b1[HUAWEI-trafficpolicy-p1] quit[HUAWEI] interface gigabitethernet 1/0/1[HUAWEI-GigabitEthernet1/0/1] traffic-policy p1 inbound。