Toolpack Application:tbstatus

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(add examples to set parameters through tbstatus)
(improve text)
Line 13: Line 13:
 
: tbstatus -gw 12358
 
: tbstatus -gw 12358
  
*'''General get query (Settable parameters are shown in purple):'''
+
*'''General get query (Settable parameters are shown in purple when doing a get query):'''
 
: tbstatus -gw [[System_Id|''SystemId'']] /[StatusPath]
 
: tbstatus -gw [[System_Id|''SystemId'']] /[StatusPath]
 
:*Example: Get all naps status:
 
:*Example: Get all naps status:
 
::  tbstatus -gw 12358 /nap
 
::  tbstatus -gw 12358 /nap
  
*'''General set query (Settable parameters are shown in purple):'''
+
*'''General set query (Settable parameters are shown in purple when doing a get query):'''
 
: tbstatus -gw [[System_Id|''SystemId'']] /[StatusPath]::[ParameterToSet]=[NewParameterValue]
 
: tbstatus -gw [[System_Id|''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:
 
:*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:

Revision as of 09:41, 27 September 2010

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 /adapter:TB001234/line_interface:LI_TB001234_00/line_service:LS_TB001234_00::loopback=NONE

Logs

No Logs

Personal tools