2-366
Cisco SCE 8000 CLI Command Reference
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-filename [halt]
Syntax Description
Command Default None
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.
Authorization: admin
Examples The following example shows how to run the script named monitor.txt, which contains commands to
enable the generation of the real-time subscriber usage RDRs for the specified subscribers.
The file contains the following command lines:
configure
interface linecard 0
subscriber name Leonardo property name monitor value 1
subscriber name Raphael property name monitor value 1
subscriber name Donatello property name monitor value 1
subscriber name Michelangelo property name monitor value 1
The following example shows how to run the script:
SCE8000>enable 10
Password:<cisco>
SCE8000#script run monitor.txt
SCE8000#configure
SCE8000(config)#interface linecard 0
SCE8000(config if)#subscriber name Leonardo property name monitor value 1
SCE8000(config if)#subscriber name Raphael property name monitor value 1
SCE8000(config if)#subscriber name Donatello property name monitor value 1
SCE8000(config if)#subscriber name Michelangelo property name monitor value 1
SCE8000(config if)#
script-filename Name of the file containing the script.
halt Breaks the script on errors.
Release Modification
2.5.7 This command was introduced.
Comments to this Manuals