set sztp

Function

The set sztp enable command enables the SZTP function.

The set sztp disable command disables the SZTP function.

By default, the SZTP function is enabled on devices.

This command is supported only on the NetEngine 8000 F1A.

Format

set sztp { enable | disable }

Parameters

None

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ztp execute

Usage Guidelines

Usage Scenario

If the SZTP function is enabled on a device, the device automatically runs the SZTP process upon startup with base configuration. To disable the device from running the SZTP process upon startup with base configuration, run the set sztp disable command on the device.

Precautions

Do not run the set sztp disable command when the device is running the SZTP process. Otherwise, the SZTP process fails.

If SZTP is disabled using the set ztp disable command and SZIP is required at the next startup, you need to run the set sztp enable command to enable SZTP again.

In VS mode, this command is supported only by the admin VS.

Example

# Enables the SZTP function.
<HUAWEI> set sztp enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic