Specifications

Table Of Contents
2-284
Cisco SCE 2000 and SCE 1000 CLI Command Reference
OL-26797-03
Chapter 2 CLI Command Reference
script run
script run
Runs a script. The script may be created using the script capture command, or it may be created as a
text file containing the appropriate commands.
script run script-file-name [halt]
Syntax Description
Command Default This command has no default settings.
Command Modes Privileged EXEC
Command History This table includes the following release-specific history entries:
Usage Guidelines Use this command to run a script that you have previously created using the script capture command.
Use the halt keyword to break script on errors.
Authorization: admin
Examples The following example runs the script named monitor.txt, which contains commands to enable the
generation of the real-time subscriber usage RDRs for the specified subscribers.
Following is the contents of the file:
configure
interface linecard 0
subscriber name Jerry property monitor value 1
subscriber name George property monitor value 1
subscriber name Elaine property monitor value 1
subscriber name Kramer property monitor value 1
The following show how to run the script:
SCE>enable 10
Password:<cisco>
SCE#script run monitor.txt
SCE#configure
SCE(config)#interface linecard 0
SCE(config if)#subscriber name Jerry property monitor value 1
SCE(config if)#subscriber name George property monitor value 1
SCE(config if)#subscriber name Elaine property monitor value 1
SCE(config if)#subscriber name Kramer property monitor value 1
SCE(config if)#
script-file-name The name of the file containing the script.
Release Modification
2.5.7 This command was introduced.