ntp-service authentication-password complexity-check enable

Function

The ntp-service authentication-password complexity-check enable command enables password strength check on NTP identity authentication.

The undo ntp-service authentication-password complexity-check enable command disables password strength check on NTP server identity authentication.

By default, password strength check on NTP server identity authentication is disabled.

Format

ntp-service authentication-password complexity-check enable

undo ntp-service authentication-password complexity-check enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ntp write

Usage Guidelines

Usage Scenario

For networks that require high security, you are advised to run this command to enable password strength check for NTP identity authentication.

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

Precautions

If this command is the first NTP configuration command, the system automatically adds the ntp-service server disable or ntp-service ipv6 server disable command in the configuration file to disable the NTP service. To enable the NTP service, run the undo ntp-service server disable or undo ntp-service ipv6 server disable command. If this command is the last NTP configuration command to be deleted, the system automatically deletes the ntp-service server disable or ntp-service ipv6 server disable command from the configuration file. Disabling the key strength check function causes security risks. Therefore, you are advised to run the enable command.

Example

# Enable password strength check on NTP server identity authentication.
<HUAWEI> system-view
[~HUAWEI] ntp authentication-password complexity-check enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >