TBStatus API
Role
tbstatus is used to access/set status of the system. It requires a path for you to query.
Usage
To get all status information from the system:
tbstatus -gw SystemId
General get query:
tbstatus -gw SystemId /[StatusPath]
Example: Get all naps status:
Example: To get a SS7 interface circuit group status information:
tbstatus isup:ISUP/interface:[ISUP Interface name]/cic_group:[Circuit Group Name]
Output:
Note: Settable parameters are shown in purple when doing a get query
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
Example: To block a SS7 interface circuit group:
tbstatus isup:ISUP/interface:[ISUP Interface name]/cic_group:[Circuit Group Name]::desired_group_state=[state name]state name can be: Default, Blocked, Unblocked (unblocked should not be used in normal circumstances)
Example: To change the state of a M3UA Peer Server Process (Default,Asp-up,Asp-down,Abort,Shutdown,Inhibit,Uninhibit):
Note: Two commands must be done at the same time and an additional "::" must be used
Note: in release 2.7, you can add a "-0" to get level 0 information.
Use tbstatus in script
See Tbstatus Monitoring.
Last updated
Was this helpful?