I took the following example from a Ubiquiti help site. https://help.ubnt.com/hc/en-us/articles/216787288-EdgeMAX-Quality-of-Service-QoS-
The site states to make two classes like so to limit them to 20mbit each as in Example 1.
Could one not just add both source addresses to match in the same class. I am looking to group devices into a specified class instead of creating a class for each device.
Example 1
set trafficpolicy shaper shaper1 bandwidth 100mbitset trafficpolicy shaper shaper1 default bandwidth 60mbitset trafficpolicy shaper shaper1 class 2 bandwidth 20mbitset trafficpolicy shaper shaper1 class 2 match client2 ip source address 10.0.1.2/32 set trafficpolicy shaper shaper1 class 3 bandwidth 20mbitset trafficpolicy shaper shaper1 class 3 match client3 ip source address 10.0.1.3/32set interfaces ethernet eth0 trafficpolicy out shaper1 commit
My modified example
set trafficpolicy shaper shaper1 bandwidth 100mbitset trafficpolicy shaper shaper1 default bandwidth 60mbitset trafficpolicy shaper shaper1 class 2 bandwidth 20mbitset trafficpolicy shaper shaper1 class 2 match client2 ip source address 10.0.1.2/32
set trafficpolicy shaper shaper1 class 2 match client3 ip source address 10.0.1.3/32set interfaces ethernet eth0 trafficpolicy out shaper1 commit