/
set system ntp source-interface

set system ntp source-interface


The set system ntp source-interface command configures the local source interface that sends NTP packets.


Command Syntax

set system ntp source-interface <vlan-interface>


Parameter

Parameter

Description

source-interface <vlan-interface>

Specifies an L3 VLAN interface as the NTP source interface. The value is a string. Indicates the local interface that sends the NTP packets.


Usage Guidelines

Configure the local source interface for sending/receiving NTP packets, so that the IP address of another interface on the device cannot be used as the destination address of a reply packet, which is convenient for a user to subsequently deploy a flow control policy.

Notes:

  • If the NTP source interface is configured, the source interface will be used for the NTP connection.
  • If the NTP source interface is not configured, the system will print an error log.


Example

  • Configure the local source interface that sends NTP packets.
admin@Xorplus# set system ntp source-interface vlan100
admin@Xorplus# commit

Copyright © 2025 Pica8 Inc. All Rights Reserved.