Hello!
I need to modify config of my M10i router at certain time of day.
I have following configuration:
minotaur@br1-gdr.ki# show event-options
generate-event {
Start-Business-Time time-of-day "12:07:00 +0300";
}
policy Modify-Speeds-to-World {
events Start-Business-Time;
then {
execute-commands {
commands {
configure;
"set firewall filter Speed-to-World term Colo-Olimpia then policer pol-2Mbit";
"commit and-quit";
}
output-filename bbb;
destination FTP;
output-format text;
}
}
}
destinations {
FTP {
archive-sites {
ftp://ftp/incoming;
}
}
}
CLI commands is executed, but with errors. The output uploaded to FTP looks like:
root@br1-gdr.ki> configure
Entering configuration mode
root@br1-gdr.ki> set firewall filter Speed-to-World term Colo-Olimpia then policer pol-2Mbit
error: unknown command: set
root@br1-gdr.ki> commit and-quit
error: unknown command: commit
Why does not "configure" command work? Thanks in advance.
Message Edited by Minotaur on 07-21-2009 02:34 AM