suspaction

摘要

临时禁用指定的操作。

语法

suspaction <action_id> | all

参数 类型 说明
<action_id> integer 目标操作的数字操作 ID
可以使用 ODB 命令 status 获取操作 ID,它会按数字顺序列出所有待处理的操作。
all n/a 禁用所有操作。

详细说明

当操作被暂停时,即使其定义条件成立,ODB 也不会执行该操作。可以使用 actaction 命令将已暂停的操作完全恢复到正常状态。

示例

ODB> status

Breakpoints :
     None


Traces :
     Full trace is disabled
     Encapsulation trace is enabled
     Execution trace is disabled
     Trace format: indented

     No other traces


Actions :
          2)  action at event (1513): status
          3)  action at event (1521): snapshot snap_file


Miscellaneous :
     Memory tagging is disabled


ODB> suspaction 3
“action at event (1521): snapshot snap_file” is disabled.

ODB> status

Breakpoints :
     None


Traces :
     Full trace is disabled
     Encapsulation trace is enabled
     Execution trace is disabled
     Trace format: indented

     No other traces


Actions :
          2)  action at event (1513): status
          3)  action at event (1521): snapshot snap_file (suspended)


Miscellaneous :
     Memory tagging is disabled

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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