Skip to content

Instantly share code, notes, and snippets.

@datsenko
Created January 11, 2016 22:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save datsenko/cfadd37970589e71f9c1 to your computer and use it in GitHub Desktop.
Save datsenko/cfadd37970589e71f9c1 to your computer and use it in GitHub Desktop.
test
set traffic-policy shaper shaper1 bandwidth 100mbit
set traffic-policy shaper shaper1 default bandwidth 60mbit
set traffic-policy shaper shaper1 class 2 bandwidth 20mbit
set traffic-policy shaper shaper1 class 2 match client2 ip source address 10.0.1.2/32
set traffic-policy shaper shaper1 class 3 bandwidth 20mbit
set traffic-policy shaper shaper1 class 3 match client3 ip source address 10.0.1.3/32
set interfaces ethernet eth0 traffic-policy out shaper1
commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment