sinet.com.kh

Friday, June 29, 2018

Limit Different Bandwidth with Simple Queue for Day and Night

Today we will show all of you how to limit bandwidth with Simple Queue for Day and Night detail as bellow:
*From 07:00AM to 18:59PM is 10Mbps
*From 17:00PM to 06:59AM is 20Mbps

1. Limit Bandwidth for Day Time
/queue simple
add max-limit=10M/10M name=Client-01 target=10.10.10.10/32 time=7h-18h59m59s,sun,mon,tue,wed,thu,fri,sat
add max-limit=10M/10M name=Client-02 target=10.10.10.11/32 time=7h-18h59m59s,sun,mon,tue,wed,thu,fri,sat
add max-limit=10M/10M name=Client-03 target=10.10.10.12/32 time=7h-18h59m59s,sun,mon,tue,wed,thu,fri,sat
add max-limit=10M/10M name=Client-04 target=10.10.10.13/32 time=7h-18h59m59s,sun,mon,tue,wed,thu,fri,sat


2. Limit Bandwidth for Night Time
/queue simple
add max-limit=20M/20M name=Client_01 target=10.10.10.10/32 time=19h-6h59m59s,sun,mon,tue,wed,thu,fri,sat
add max-limit=20M/20M name=Client_02 target=10.10.10.11/32 time=19h-6h59m59s,sun,mon,tue,wed,thu,fri,sat
add max-limit=20M/20M name=Client_03 target=10.10.10.12/32 time=19h-6h59m59s,sun,mon,tue,wed,thu,fri,sat
add max-limit=20M/20M name=Client_04 target=10.10.10.13/32 time=19h-6h59m59s,sun,mon,tue,wed,thu,fri,sat
 

1 comment: