alias

Abstract

Defines a command alias, or displays all defined aliases.

Syntax

alias <name> [<value>]

Argument Type Description
<name> string Name of the alias to be defined or displayed.
<value> string Value to be assigned to the alias. This can be a full ODB command or the first part of one.

Details

This command implements command aliases, as described in Command Aliases. Alone or with the <name> argument, it displays the value of defined aliases. With both <name> and <value> arguments, it defines a new alias or updates an existing one. Use unalias to remove an alias definition.

Example

ODB> alias get_size attrset #80 "pk size pdf"
Added alias "get_size"

ODB> alias
[alias   ]:[maps to]
 get_size : attrset #80 "pk size pdf"

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