Skip to content

Instantly share code, notes, and snippets.

@datsenko
Created January 13, 2016 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save datsenko/c66ce16d173dc28818b9 to your computer and use it in GitHub Desktop.
Save datsenko/c66ce16d173dc28818b9 to your computer and use it in GitHub Desktop.
ubiquiti_qos_users
ubnt@ubnt:~$ configure
[edit]
ubnt@ubnt# set traffic-policy shaper shaper1 bandwidth 100mbit
[edit]
ubnt@ubnt# set traffic-policy shaper shaper1 class 2 bandwidth 10mbit
[edit]
ubnt@ubnt# set traffic-policy shaper shaper1 class 2 match client2 ip source address 192.168.0.2/32
[edit]
ubnt@ubnt# set traffic-policy shaper shaper1 class 3 bandwidth 20mbit
[edit]
ubnt@ubnt# set traffic-policy shaper shaper1 class 3 match client3 ip source address 192.168.0.3/32
[edit]
ubnt@ubnt# set traffic-policy shaper shaper1 default bandwidth 60mbit
[edit]
ubnt@ubnt# set interfaces ethernet eth0 traffic-policy out shaper1
[edit]
ubnt@ubnt#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment