System ZTP
The tolt system ztp is used to configure and administer ZTP or Zero Touch Provisioning which is a way to bring a factory fresh unit at installation to fully operational with no user intervention.

The following table is used for controlling ztp behavior:
System ZTP configurable attributes:
| Attribute | Values | Default | Req | Description |
|---|---|---|---|---|
| Config-password | String | N/A | N | Password used if HTTP interface requires a password to download |
| Config-username | String | N/A | N | Password used if HTTP interface requires a password for config file download. |
| Config-url | URL | N/A | N | The http URL that should be used for the ztp config file download. |
| Download-password | String | N/A | N | The password to be used when performing software downloads |
| Download-url | URL | N/A | N | The URL to use when performing software downloads. |
| Download-username | String | N/A | N | The password to use when performing software downloads |
| Primary-version | String | N/A | N | If manually configuring the ztp config parameters allows specifying the version number configured for the primary bank. |
| Restore-password | String | N/A | N | The password to be used when the system is performing restores |
| Restore-url | URL | N/A | N | The URL to use when downloading restore files. |
| Restore-username | String | N/A | N | The username to be used when downloading a restore file from http server |
| Secondary-version | String | N/A | N | The version number of the load to be placed into the secondary bank when manually entering the ztp config file |
| Ztp-mode | Enabled | disabled | Enabled | N | Allows enabling or disabling of ztp mode. |
System ZDP Status Attributes
| Attribute | Values | Comment |
|---|---|---|
| Ztp-state | Init dhcp config update restore error complete |
Init- ztp is initializing and starting up. dhcp – ztp is attempting to obtain an IP via DHCP. config – ztp is attempting to download the configuration. update – ztp is attempting to update the software version restore – ztp is restoring database from a downloaded file error – ztp has encountered an error. complete – ztp has executed all tasks in the ztp config file and is not complete. ZTP will be disabled and system will attempt go to system state of NORMAL |
| Last-execution-time | Date time | Shows the date time of the last execution of ztp. |
| Last-result | Result string | Shows the result of the last ztp execution. |
| History | Container for ztp history records. | |
| Session | Date time | Container for last ztp session. |
| Timestamp | String | The timestamp of when the ztp event occurred for this history entry. |
| State | Init dhcp config update restore error complete |
The state transition that occurred. |
| Result | String | The result of the ztp history state, pass or fail. |
- Command Path – tolt>system >ztp>config>
- Module – tolt
- Container – system
- Container – ztp
- Container – config
- Types –
- Config-password – Password used if HTTP interface requires a password to download. .
- string
- Config-username – Password used if HTTP interface requires a password to download.
- string
- Config-url – The http URL that should be used for the ztp config file download.
- url
- Download-password – The password to be used when performing software downloads.
- string
- Download-url – The URL to use when performing software downloads.
- url
- Download-username – The password to use when performing software downloads.
- string
- Primary-version – If manually configuring the ztp config parameters allows specifying the version number configured for the primary bank.
- string
- Restore-password – The password to be used when the system is performing restores.
- string
- Restore-url – The URL to use when downloading restore files.
- url
- Restore-username – The username to be used when downloading a restore file from http server.
- string
- Secondary-version – The version number of the load to be placed into the secondary bank when manually entering the ztp config file
- string
- Ztp-mode – Allows enabling or disabling of ztp mode
- Enabled | disabled (Default enabled)
- Config-password – Password used if HTTP interface requires a password to download. .
Edit ZTP Settings
- Command Path – tolt>system>ztp>config>
- Module – tolt
- Container – system
- Container – ztp
- Command – config
- Types – Example Parameters
- config-password Tellabs-1
- config-url http://172.28.152.65:6202/config
- config-username tellabs
- download-password tellabs
- download-url http://172.28.152.65:6202/download/
- download-username tellabs
- primary-version SR34.0_620134
- restore-password tellabs
- restore-url http://172.28.152.65:6202/config/ztp-restore-CIRA4234500004.cli
- restore-username tellabs
- secondary-version SR34.0_620131
- ztp-mode enabled
- From the MDS1-ESUA<config># command line, input tolt system ztp config config-password Tellabs-1 config-url http://172.28.152.65:6202/config config-username tellabs download-password tellabs download-url http://172.28.152.65:6202/download/ download-username tellabs primary-version SR34.0_620134 restore-password tellabs restore-url http://172.28.152.65:6202/config/ztp-restore-CIRA4234500004.cli restore-username tellabs secondary-version SR34.0_620131 ztp-mode enabled, and press Enter.
- Input commit and press Enter. Outputs similar to the following are displayed:
MDS1-ESUA<config># tolt system ztp config config-password Tellabs-1 config-url http://172.28.152.65:6202/config config-username tellabs download-password tellabs download-url http://172.28.152.65:6202/download/ download-username tellabs primary-version SR34.0_620134 restore-password tellabs restore-url http://172.28.152.65:6202/config/ztp-restore-CIRA4234500004.cli restore-username tellabs secondary-version SR34.0_620131 ztp-mode enabled <enter> MDS1-ESUA<config># commit <enter> commit complete. MDS1-ESUA<config>#_ |
Show running-config Tolt System ZTP Config
- Command Path – show>running-config>tolt>system>
- Command – show
- Command – running-config
- Module – tolt
- Container – system
- From the MDS1-ESUA# command line, input show running-config tolt system, and press Enter.
- Outputs similar to the following are displayed:
MDS1-ESUA# show running-config tolt system dns config <enter>
System message at 2025-08-15 12:00:00...
Commit performed by admin via tcp using ztp.
MDS1-ESUA# show running-config tolt system ztp config
tolt system ztp config ztp-mode disabled
tolt system ztp config config-url http://172.28.152.65:6202/config
tolt system ztp config config-username tellabs
tolt system ztp config config-password Tellabs-1
tolt system ztp config download-url http://172.28.152.65:6202/download/
tolt system ztp config download-username tellabs
tolt system ztp config download-password tellabs
tolt system ztp config primary-version SR34.0_620134
tolt system ztp config secondary-version SR34.0_620131
tolt system ztp config restore-url http://172.28.152.65:6202/config/ztp-restore-CIRA4234500004.cli
tolt system ztp config restore-username tellabs
tolt system ztp config restore-password tellabs
MDS1-ESUA#_
|
Show Tolt System ZTP Status
- Command Path – show>tolt>system>ztp>status
- Command – show
- Module – tolt
- Container – system
- Container – ztp
- Command – config
- From the MDS1-ESUA# command line, input show tolt system zdp status, and press Enter.
- Outputs similar to the following are displayed:
MDS1-ESUA# show tolt system zdp status <enter>
tolt system ztp status last-execution-time 2025-09-05T15:16:31.836762Z
MDS1-ESUA#_
|
FEEDBACK: Are you happy with this material?
Thank you Your feedback helps us to continually improve our content.