Toolpack Application:tbstatus
From TBwiki
(Difference between revisions)
(improve text) |
m (fix example) |
||
Line 22: | Line 22: | ||
:*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: | ||
:: tbstatus -gw [[System_Id|''SystemId'']] /adapter:[TmediaSerialNumber]/line_interface:[LineInterfaceName]/line_service:[LineServiceName]::loopback=NONE | :: 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 | + | :: tbstatus -gw 12358 /adapter:TB001234/line_interface:LI_TB001234_00/line_service:LS_TB001234_00::loopback=NONE |
== Logs == | == Logs == | ||
No Logs | No Logs |
Revision as of 09:42, 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 -gw 12358 /adapter:TB001234/line_interface:LI_TB001234_00/line_service:LS_TB001234_00::loopback=NONE
Logs
No Logs