display ztp status

Function

The display ztp status command displays information about ZTP status.

Format

display ztp status

Parameters

None

Views

All views

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ztp read

Usage Guidelines

Usage Scenario

Before configuring the ZTP function, you can run the display ztp status command to view the ZTP status of the system.

This command is supported only on the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the ZTP status of the current system.
<HUAWEI> display ztp status
---------------------------------------------------------------------------
Slot  Last startup ZTP status   Next startup ZTP status   Previous-cfg-file
---------------------------------------------------------------------------
9     disable                   enable                    ztp_default.py
---------------------------------------------------------------------------
Table 1 Description of the display ztp status command output
Item Description
Slot

Slot number of the main control board.

Last startup ZTP status

Whether automatic deployment through ZTP is enabled for the last device startup without configurations:

  • enable: yes.
  • disable: no.
Next startup ZTP status

Whether automatic deployment through ZTP is enabled for the next device startup without configurations:

  • enable: yes.
  • disable: no.
Previous-cfg-file

Pre-configuration file. If a pre-configuration file is set, the file name is displayed. Otherwise, None is displayed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >