We have a CCR1072 which is acting as edge router for providing internet services to customers. We have recently taken on board a customer whose BW requirement is of 5000 Mbps. I was trying to implement this download limit via PCQ and simple queue but when we enter the value of more than 4200 Mbps in Max Download Limit (in case of simple queue) or in Rate (in case of PCQ) Mikrotik does not accept the value. How can we achieve this?
I havent been able to achieve 4200 Mbps on the CCR for the customer. Though the CCR accepts the value of 4200M but once the queue is enabled, the traffic is choked at 500 Mbps. Further to add, yes i have NX3k on which the customer is terminated but the NX3K can apply traffic police on physical interface but not on LAGs or SVIs. Is there anyway we can achieve this capping on Mikrotik as we were hoping to use this CCR for customers link 1G to 5G capacity.
You have 72 cores, but the queue will limit all the customer traffic to a single core
therefore you will not be able to control the bandwidth to this customer using this tool. Simple-queues are software-queues, and for that ammount of bandwidth, you need a hardware-based queue.
I suggest putting a switch with limiting capabilities in the path for this client
For instance, in a CRS317, you can go to Switch → port → SFP11 → set ingress (upload) and Egress (download) rate limits for that port.
Thanks for the input guipoletto. I see your suggestion and get your point but in case we have multiple customers, some being allocated 2 x 10G interfaces for redundancy, allocated each customer a dedicated port whether he has 2 Gbps traffic or 5 Gbps traffic, we will need many switches as we will only be able to apply hardware limit using the switch. Applying on SVI or IP level would save the number of physical ports we use as one 10G interface could facilitate multiple customers. But at the end of the day, if CCR is not capable enough, there is now choice but to allocate each customer a dedicated physical port.
Just to update, talked to Mikrotik support and the guy there gave an excellent suggestion which was to use firewall to restrict traffic. Used the below mentioned command:
"This simple firewall filter rule will limit ether1 outgoing traffic to 1Gbps with 100Mbp burst "
I changed the out-interface to the designated vlan of the customer and the download was restricted. No heavy utilization of CPU cores. Have implemented upto 3Gbps using this for another customer on the same CCR and no CPU choking observed. All seems normal till now. Will keep under monitoring. Do share if anyone else has had an experience with using this rule to do BW shaping.