Actions

Toolpack Application:tbstatus: Difference between revisions

(cleaned up)
(add examples to set parameters through tbstatus)
Line 1: Line 1:
== Role ==
== Role ==
tbstatus is used to access status of the system. It requires a path for you to query.
tbstatus is used to access/set status of the system. It requires a path for you to query.




== Usage ==
== Usage ==
*tbstatus location:
*'''tbstatus location:'''
: [InstallDir]/toolpack/pkg/[Version]/bin/release/[HwArchitecture]/
: [InstallDir]/toolpack/pkg/[Version]/bin/release/[HwArchitecture]/
: /lib/tb/toolpack/pkg/2.3.1/bin/release/x86_64-linux64/
: /lib/tb/toolpack/pkg/2.3.1/bin/release/x86_64-linux64/
: C:\TelcoBridges\toolpack\pkg\2.3.1\bin\release\i586-win32\
: C:\TelcoBridges\toolpack\pkg\2.3.1\bin\release\i586-win32\


*To get all path available
*'''To get all path available:'''
: tbstatus -gw [[System_Id|''SystemId'']]
: tbstatus -gw [[System_Id|''SystemId'']]
: tbstatus -gw 12358
: tbstatus -gw 12358


*To query a specific path
*'''General get query (Settable parameters are shown in purple):'''
: tbstatus -gw [[System_Id|''SystemId'']] [StatusPath]
: tbstatus -gw [[System_Id|''SystemId'']] /[StatusPath]
: For naps:
:*Example: Get all naps status:
: tbstatus -gw 12358 /nap
:tbstatus -gw 12358 /nap
 
*'''General set query (Settable parameters are shown in purple):'''
: 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:
:: tbstatus -gw [[System_Id|''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 ==
== Logs ==
No Logs
No Logs

Revision as of 10:40, 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):
tbstatus -gw SystemId /[StatusPath]
  • Example: Get all naps status:
tbstatus -gw 12358 /nap
  • General set query (Settable parameters are shown in purple):
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