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.

Note: If the NTP source interface is configured, the source interface will be used for the NTP connection.


Example

admin@Xorplus# set system ntp source-interface vlan100
admin@Xorplus# commit