Created
January 13, 2017 01:59
-
-
Save beigna/8a33ca44a3d57df4fa634d8008156474 to your computer and use it in GitHub Desktop.
Traffic Shaping on EdgeMax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set traffic-policy shaper WorldIn description "Download" | |
set traffic-policy shaper WorldIn bandwidth 9600kbit | |
set traffic-policy shaper WorldIn class 10 description "interactive" | |
set traffic-policy shaper WorldIn class 10 bandwidth 20% | |
set traffic-policy shaper WorldIn class 10 ceiling 100% | |
set traffic-policy shaper WorldIn class 10 match dns ip destination port 53 | |
set traffic-policy shaper WorldIn class 10 match ssh ip destination port 22 | |
set traffic-policy shaper WorldIn class 10 match icmp | |
set traffic-policy shaper WorldIn class 20 description "surfing" | |
set traffic-policy shaper WorldIn class 20 bandwidth 30% | |
set traffic-policy shaper WorldIn class 20 ceiling 100% | |
set traffic-policy shaper WorldIn class 20 match web ip destination ports 0-1023 | |
set traffic-policy shaper WorldIn default bandwidth 20% | |
set traffic-policy shaper WorldIn default ceiling 100% | |
set interfaces switch switch0 traffic-policy out WorldIn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment