Today, Jin Hui building cutover, Internet cafes require a speed limit of 20 m. The people on the top are getting lazy, so they ask you to do it and do it. Although it is hard work for us, many people have asked s3026e how to set a speed limit of 20 m? If not, please correct me. In my mind, senior talents are highly skilled and willing to share. This is also a requirement for our MVP.
Only the commands related to QoS/ACL configuration are listed here.
Define ACL and rules
ACL name limit advanced
Rule 1 permit IP
Limit the traffic of port E0/3
Interface ethernet0/3
Limit the traffic of packets received by the port. The normal traffic is 50 MB, and the packets exceeding the traffic are discarded.
Traffic-limit Inbound IP-group limit rule 1 50 exceed drop
The line-rate command is used to speed up the port and limit the total rate of packets sent from the port to 20 mb.
Line-rate 20