Sun Feb 11, 2007 1:38 pm
U need to create 2 Queue for the same target address and allote diff. speed.
Write a script and configure a scheduler for queue. The script will automatically enable and Disable the queue.
Example.
[admin@LAN Server] queue simple> pr
Flags: X - disabled, I - invalid, D - dynamic
0 name="day" target-addresses=10.10.10.2/32 dst-address=0.0.0.0/0
interface=LAN parent=none direction=both priority=8
queue=default-small/default-small limit-at=32000/64000
max-limit=64000/128000 total-queue=default-small
1 X name="night" target-addresses=10.10.10.2/32 dst-address=0.0.0.0/0
interface=LAN parent=none direction=both priority=8
queue=default-small/default-small limit-at=128000/256
max-limit=256000/512000 total-queue=default-small
[admin@LAN Server] queue simple>
Script
-----------
[admin@LAN Server] system script> pr
0 name="day" owner="admin"
policy=ftp,reboot,read,write,policy,test,winbox,password
last-started=feb/11/2007 09:14:03 run-count=2
source=/queue simple enable day; /queue simple disable night
1 name="night" owner="admin"
policy=ftp,reboot,read,write,policy,test,winbox,password run-count=0
source=/queue simple enable night; /queue simple disable day
[admin@LAN Server] system script>
Schedular for the Queue
----------------------------
[admin@LAN Server] system scheduler> pr
Flags: X - disabled
# NAME ON-EVENT START-DATE START-TIME INTERVAL RUN-COUNT
0 DAY day feb/11/2007 06:00:00 1d 0
1 NIGHT night feb/11/2007 18:00:00 1d 0
[admin@LAN Server] system scheduler>
Try this , it will help u to solve your problem
ASHISH.