script_play

Abstract

Plays back a script, with or without prompting.

Syntax

script_play <filename> [noprompt]

Argument Type Description
<filename> string name of the script file
This argument should not include the .scr suffix, which is automatically appended.
noprompt n/a Suppress prompts.

Details

A script is saved with the command script_save. Normally when a script is played back, a prompt allows the user to proceed to the next command in the script, to continue without further prompting, or to stop. To suppress all prompts, add the noprompt argument.

Example

ODB> script_view pksw
0: pktrace 100
1: pktrace 200
2: evstop +500

ODB> script_play pksw

ODB> pktrace 100
[n]ext | [c]ontinue | [s]top > n

ODB> pktrace 200
[n]ext | [c]ontinue | [s]top > n

ODB> evstop +500
[n]ext | [c]ontinue | [s]top > c

...

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com