EXEC Files
24 Basic System Configuration Guide
mask-reply
redirects 100 10
unreachables 100 10
ttl-expired 100 10
exit
no mac
no ntp-broadcast
no cflowd
no shutdown
----------------------------------------------
*A:ALA-1>config>router>if#
EXEC Files
The exec command allows you to execute a text file of CLI commands as if it were typed at 
a console device.
The exec command and the associated exec files can be used to conveniently execute a 
number of commands that are always executed together in the same order. For example, an 
exec command can be used by a user to define a set of commonly used standard command 
aliases.
The echo command can be used within an exec command file to display messages on screen 
while the file executes.
CLI Script Control
The SR OS provides centralized script management for CLI scripts that are used by CRON 
and the Event Handling System (EHS). A set of script policies and script objects can be 
configured to control the following items and more:
• Where scripts are located (local compact flash, remote FTP server)
• Where to store the output of the results
• How long to keep historical script result records
• How long a script may run
If the scripts are located on local compact flash devices then the user must ensure that the 
scripts are on the compact flash devices of both CPMs so that operation of EHS continues as 
expected if a CPM switchover occurs.