Skip to content

Instantly share code, notes, and snippets.

@iconara
Created April 28, 2015 09:02
Show Gist options
  • Save iconara/d1b07a43c1c38777ea1c to your computer and use it in GitHub Desktop.
Save iconara/d1b07a43c1c38777ea1c to your computer and use it in GitHub Desktop.
EdgeMAX QoS settings
set traffic-policy shaper DOWNLOAD-POLICY
set traffic-policy shaper DOWNLOAD-POLICY bandwidth 1000Mbit
set traffic-policy shaper DOWNLOAD-POLICY default bandwidth 100%
set traffic-policy shaper DOWNLOAD-POLICY default ceiling 100%
set traffic-policy shaper DOWNLOAD-POLICY default burst 15k
set traffic-policy shaper DOWNLOAD-POLICY default queue-type fair-queue
set traffic-policy shaper DOWNLOAD-POLICY class 2 bandwidth 20Mbit
set traffic-policy shaper DOWNLOAD-POLICY class 2 burst 15k
set traffic-policy shaper DOWNLOAD-POLICY class 2 ceiling 40Mbit
set traffic-policy shaper DOWNLOAD-POLICY class 2 match ADDR ip destination address 172.30.159.201/32
set traffic-policy shaper DOWNLOAD-POLICY class 2 queue-type fair-queue
set traffic-policy shaper UPLOAD-POLICY
set traffic-policy shaper UPLOAD-POLICY bandwidth 1000Mbit
set traffic-policy shaper UPLOAD-POLICY default bandwidth 100%
set traffic-policy shaper UPLOAD-POLICY default ceiling 100%
set traffic-policy shaper UPLOAD-POLICY default burst 15k
set traffic-policy shaper UPLOAD-POLICY default queue-type fair-queue
set traffic-policy shaper UPLOAD-POLICY class 2 bandwidth 20Mbit
set traffic-policy shaper UPLOAD-POLICY class 2 burst 15k
set traffic-policy shaper UPLOAD-POLICY class 2 ceiling 40Mbit
set traffic-policy shaper UPLOAD-POLICY class 2 match ADDR ip destination address 172.30.159.201/32
set traffic-policy shaper UPLOAD-POLICY class 2 queue-type fair-queue
set interfaces switch switch0 traffic-policy out DOWNLOAD-POLICY
set interfaces ethernet eth1 traffic-policy out UPLOAD-POLICY
commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment