Task Management
Description
Property Description
Example
Script Editor
Description
Command Description
Notes
Example
General Information
Summary
This manual provides introduction to RouterOS built-in powerful scripting language.
Scripting host provides a way to automate some router maintenance tasks by means of executing
user-defined scripts bounded to some event occurence. A script consists of configuration commands
and expressions (ICE - internal console expression). The configuration commands are standard
RouterOS commands, e.g. /ip firewall filter add chain=forward protocol=gre action=drop
that are described in the relevant manuals, while expressions are prefixed with : and are accessible
from all submenus.
The events used to trigger script execution include, but are not limited to the System Scheduler, the
Traffic Monitoring Tool, and the Netwatch Tool generated events.
Specifications
Packages required: system
License required: level1
Home menu level: /system script
Standards and Technologies: None
Hardware usage: Not significant
Related Documents
• Software Package Management
•
• System Scheduler
• Network Monitor
• Traffic Monitor
• Serial Port Monitor
Console Command Syntax
Description
Page 631 of 695
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.