< Home

Configuring the NTP Primary Clock

If you want to configure a FW to provide a primary NTP clock, do as follows on the FW functioning as the NTP server.

Context

The stratum configured for the master clock on the server must be lower than the stratum configured for the clock on the client. Otherwise, the clock on the client cannot synchronize with the master clock on the server.

Procedure

  1. Access the system view.

    system-view

  2. Set a primary NTP clock.

    ntp-service refclock-master [ ip-address ] [ stratum ]

    When no IP address is specified, the local clock whose IP address is 127.127.1.0 functions as the primary NTP clock by default, with the stratum being 8.

  3. Enable the NTP server function.

    undo ntp-service server disable

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