< Home

Disabling a Specified Interface from Receiving NTP Packets

Context

Disable receipt of NTP packets by interfaces connected to external devices in the following scenarios:
  • When an unreliable clock server exists on the interface. By default, after the NTP function is enabled, all interfaces can receive NTP packets. An unreliable clock source makes NTP clock data inaccurate.
  • When the NTP clock data has been modified by a malicious attack on the interface.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface for receiving NTP packets is specified.

  3. Run ntp-service [ ipv6 ] in-interface disable

    The interface is disabled from receiving NTP packets.

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