The ntp-service port command changes the port number used to receive NTP packets.
The undo ntp-service port command restores the default port number.
By default, port 123 receives NTP packets.
Usage Scenario
To improve security of network packets, run the ntp-service port command to configure the port number used to receive NTP packets. A user firewall filters packets based on that port number.
Precautions
If this command is the first NTP configuration command, the system automatically adds the 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 [ ipv6 ] server disable command. If this command is the last NTP configuration command to be deleted, the system automatically deletes the ntp-service [ ipv6 ] server disable command from the configuration file.