Skip to main content
All CollectionsAccount ManagementNetwork Best Practices
Setting up a QoS on the Ubiquiti EdgeRouter Pro for Pickle
Setting up a QoS on the Ubiquiti EdgeRouter Pro for Pickle

How to set up a QoS on the Ubiquiti EdgeRouter Pro.

Updated over 2 years ago

Setting up the QoS on your Ubiquiti EdgeRouter means that you will first need to test your bandwidth.

Please make sure to launch your tests outside of your business hours in order to obtain a proper evaluation of your bandwidth.

If you have any traffic shaping or firewall rules already set, you should deactivate them before launching this test.

Now let's imagine that after running the tests, we received the following results:

  1. Download 97Mbps / Upload 79Mbps

  2. Download 90Mbps / Upload 84Mbps

  3. Download 98Mbps / Upload 76Mbps

We will then take into consideration the lowest result, and keep 90Mbps in Download, and 76Mbps as the Upload speed.

Next, you will need to access your Ubiquiti EdgeRouter Pro CLI through the web interface, or using the ssh access.

Please write these rules:

If you do copy/paste these command lines, please only use the two first lines, then the download rule, and the upload rule, and finish with the commit and save commands.

configure
top

# Setup of the Pickle Download policy

set traffic-policy shaper DlPickle description "Pickle Download QoS policy"

set traffic-policy shaper DlPickle bandwidth 79Mbit

set traffic-policy shaper DlPickle class 2 description "Class for Pickle servers IP address"

# The value of your class must be at least -> (nb of pickle users) x (100Kbit)

set traffic-policy shaper DlPickle class 2 bandwidth 5000Kbit

set traffic-policy shaper DlPickle class 2 ceiling 100%

set traffic-policy shaper DlPickle class 2 priority 7

set traffic-policy shaper DlPickle class 2 match Pickle ip source address 175.45.118.0/27

# Remaining of your bandwidth come here

set traffic-policy shaper DlPickle default bandwidth 74Mbit

set traffic-policy shaper DlPickle default ceiling 100%

#Setup of the pickle Upload policy

set traffic-policy shaper UlPickle description "Pickle Download QoS policy"

set traffic-policy shaper UlPickle bandwidth 74Mbit

set traffic-policy shaper UlPickle class 2 description "Class for Pickle servers IP address"

# The value of your class must be at least -> (nb of pickle users) x (100Kbit)

set traffic-policy shaper UlPickle class 2 bandwidth 5000Kbit

set traffic-policy shaper UlPickle class 2 ceiling 100%

set traffic-policy shaper UlPickle class 2 priority 7

set traffic-policy shaper UlPickle class 2 match Pickle ip
destination address 175.45.118.0/27

# Remaining of your bandwidth come here

set traffic-policy shaper UlPickle default bandwidth 69Mbit

set traffic-policy shaper UlPickle default ceiling 100%

# Apply policies to your interfaces

# Here we assume eth1 is you internet interface and eth0 is your LAN interface

set interfaces ethernet eth1 traffic-policy out UlPickle

set interfaces ethernet eth0 traffic-policy out DlPickle

commit
save

Your router is now set to prioritise your Pickle communication! πŸŽ‰
​

Did this answer your question?