objid

Abstract

Displays the object ID of the specified object.

Syntax

objid <objref>

Argument Type Description
<objref> integer or string numeric object ID or hierarchical name of the object-of-interest
Although this argument will accept an object ID, an hierarchical name is almost always passed to this argument, since name-to-ID conversion is the purpose of the command.

Details

The object-of-interest is specified by an hierarchical name, which consists of several components separated by dots (hierarchical object names are described in Common Arguments. This command is useful to determine the object ID of an object with a known hierarchical name. Many ODB commands support an object reference argument, which accepts either an hierarchical name or an object ID. The object ID option is more convenient for frequent references to the same object. An alias for an earlier version of this command is supported (modid).

Example

ODB> objid pksw2.node0
	object ID:  9

ODB> objid pksw2.node0.xmt
	object ID:  124

ODB> objprint 124

______________________________________________________________
Attributes
	 object type        :  pt-pt transmitter
	 object ID         :  124
	 parent object ID   :  9
	 name             :  xmt
	 priority           :  0
	 super priority     :  disabled
	 channel count      :  1
	 link objid         :  15
	 remote rx objid    :  98

______________________________________________________________
Channel object ids and tx queue lengths
	channel 0           :  object id    (125)  , queue length (0 (pks))

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