Toolpack Application:tbstatus

From TBwiki
Revision as of 06:41, 15 March 2013 by Luc Morissette (Talk | contribs)
Jump to: navigation, search

Role

tbstatus is used to access/set status of the system. It requires a path for you to query.


Usage

  • tbstatus location:
[InstallDir]/toolpack/pkg/[Version]/bin/release/[HwArchitecture]/
/lib/tb/toolpack/pkg/2.3.1/bin/release/x86_64-linux64/
C:\TelcoBridges\toolpack\pkg\2.3.1\bin\release\i586-win32\
  • To get all path available:
tbstatus -gw SystemId
tbstatus -gw 12358
  • General get query (Settable parameters are shown in purple when doing a get query):
tbstatus -gw SystemId /[StatusPath]
  • Example: Get all naps status:
tbstatus -gw 12358 /nap
  • General set query (Settable parameters are shown in purple when doing a get query):
tbstatus -gw SystemId /[StatusPath]::[ParameterToSet]=[NewParameterValue]
  • Example: To set the loopback state of a E1 line service to NONE (Meaning enable). NOTE: The path would be different for DS3 or STM1:
tbstatus -gw SystemId /adapter:[TmediaSerialNumber]/line_interface:[LineInterfaceName]/line_service:[LineServiceName]::loopback=NONE
tbstatus -gw 12358 /adapter:TB001234/line_interface:LI_TB001234_00/line_service:LS_TB001234_00::loopback=NONE


Note: in release 2.7, you can add a "-0" to get level 0 information.

Personal tools