tr069-client
tr069-client
Package: tr069-client
Type: Settings Directory
Settings of the TR-069 (CWMP) client, which connects the router to an Auto Configuration Server (ACS). The menu is available when the tr069-client package is installed. See TR-069 for setup and the RPCs the router supports.
| Argument | Type | Description |
|---|---|---|
| enabled | enum (yes | no) | Enables the CWMP client. When enabled with an acs-url, the client starts a session with the ACS. Default: no. |
| acs-url | string | URL of the ACS, https:// or https://, for example https://acs.example.com:7547/. For HTTPS with check-certificate=yes, the certificate store must contain the CA certificate that signed the ACS certificate. Changing the URL makes the next Inform carry the 0 BOOTSTRAP event, so the new ACS treats the router as a new device. Maps to Device.ManagementServer.URL. |
| vrf | enum | |
| username | string | Username the router sends to the ACS for HTTP authentication. Over HTTP the router sends the credentials after the ACS asks for them (HTTP 401); over HTTPS it sends them with the first request. |
| password | string | Password the router sends to the ACS for HTTP authentication. It is a sensitive value: /export leaves it out unless show-sensitive is given. Changing it does not start a session; the next scheduled or retried session uses it. |
| periodic-inform-enabled | bool | Starts a session with the ACS every periodic-inform-interval. The Inform of such a session carries the 2 PERIODIC event. Maps to Device.ManagementServer.PeriodicInformEnable. Default: yes. |
| periodic-inform-interval | time | Interval between periodic sessions, counted from the end of the last successful session. The ACS can change it through Device.ManagementServer.PeriodicInformInterval (in seconds). Minimum 1s. Default: 1d. |
| connection-request-username | string | Username the ACS must use for Connection Requests, the HTTP requests with which the ACS asks the router to start a session. The router accepts only HTTP Digest authentication. Set a username and password: with both empty, the router accepts a Digest request with empty credentials. |
| connection-request-password | string | Password the ACS must use for Connection Requests (HTTP Digest authentication). |
| connection-request-port | num | TCP port on which the router listens for Connection Requests. The router reports the full URL, https://<address>:<port>/<random path>, to the ACS as Device.ManagementServer.ConnectionRequestURL in every Inform. The firewall must accept connections to this port from the ACS; the client adds no firewall rule. Default: 7547. |
| provisioning-code | string | Free-form code that the router sends to the ACS in every Inform as Device.DeviceInfo.ProvisioningCode. An ACS can use it to group devices, for example by service plan or region. |
| client-certificate | enum (none) | Certificate (with its private key) from the certificate store that the router presents in the TLS handshake when the ACS asks for a client certificate. Default: none. |
| check-certificate | enum (yes | no) | Verifies the HTTPS certificate of the ACS: it must be signed by a CA in the certificate store, and its name must match the host in acs-url. With no, the router connects to any HTTPS server at that URL and sends it the username and password. Default: yes. |
| Read-only Argument | Type | Description |
|---|---|---|
| status | enum (disabled | initializing | error | waiting-url | running) | State of the client:
|
| last-session-error | string | Reason the last session failed, for example Connection refused, resolving error, Network unreachable, HTTP error code: 500, HTTP authentication error. Wrong username/password. or an SSL: certificate error. Empty after a successful session. |
| retry-count | num | Number of failed sessions in a row. The client retries with a growing delay (seconds at first, then minutes) and sends the count to the ACS in the Inform RetryCount. Resets to 0 after a successful session, when the client is disabled, and after a reboot. |