> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/telecom-references/developer-reference/toolpack-api/toolpack-application-tbconfig.md).

# Toolpack Application:tbconfig

### Role

tbconfig is used to provision the system using the RESTful API. It supports three different modes of operations : interactive mode, shell mode and command line mode.

### Interactive mode

This mode allows to explore and modify the configurations using arrow keys and simple commands. Multiple modifications can be made before they are applied to the unit. While inside the interactive mode, type the question mark (?) key to get a more detailed help.

* **To launch the tool in interactive mode :** tbconfig

### Shell mode

This mode allows to explore and modify the configurations using cd (change directory), ls (list files) and other simple commands. Multiple modifications can be made before they are applied to the unit. While inside the shell mode, type "help" key to get a more detailed help.

* **To launch the tool in shell mode :** tbconfig --shell

### Command line mode

This mode allows to export or import configurations to/from files. It also allows to instantly modify values.

* **To use the tool in command line mode :** tbconfig \[args]
* **To get detailed commands examples :** tbconfig --help

### Additional arguments

By default, tbconfig sends HTTP requests to the [web server](https://prosbcdocs.telcobridges.com/tmedia-documentation/other-pages/operations/web-server) using 127.0.0.1:12358 with root/root as the username and password.

This can be changed using the following arguments: -h : \[host] Host to connect to (IP address or domain name) --port : \[port] Port to use for connecting to HTTP server -u : \[user] User name to use for connecting to HTTP server -p : \[pass] Password to use for connecting to HTTP server -s : \[HTTPS] to connect using HTTPS

For example, if the TMG’s web server has been reconfigured to use HTTPS on port 443 and you want to log with user my\_username and password my\_secret\_password, tbconfig should be invoked using the following parameters: tbconfig --port 443 -s HTTPS -u my\_username -p my\_secret\_password

Unix environment variables can be set to avoid adding those parameters every time. TBCONFIG\_HOST : Replaces -h TBCONFIG\_PORT : Replaces --port TBCONFIG\_USER : Replaces -u TBCONFIG\_PASS : Replaces –p TBCONFIG\_SCHEME : Replaces -s

### Use cases

* [Exporting a configuration](/telecom-references/developer-reference/restful-api/restful-api-exporting-a-configuration.md)
* [Importing a configuration](/telecom-references/developer-reference/restful-api/restful-api-importing-a-configuration.md)
* [Activating a configuration](/telecom-references/developer-reference/restful-api/restful-api-activating-a-configuration.md)
* [Updating a static route](/telecom-references/developer-reference/restful-api/restful-api-updating-a-route.md)
* [Add MTP3 Point Codes](/telecom-references/developer-reference/restful-api/restful-api-add-mtp3-point-codes.md)
* [Add MTP3 Routes](/telecom-references/developer-reference/restful-api/restful-api-add-mtp3-routes.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://prosbcdocs.telcobridges.com/telecom-references/developer-reference/toolpack-api/toolpack-application-tbconfig.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
