The ntp-service max-dynamic-sessions command sets the maximum number of dynamic NTP sessions that a device can set up.
The undo ntp-service max-dynamic-sessions command restores the maximum dynamic NTP session to the default value.
By default, a maximum of 100 sessions are allowed to be set.
Usage Scenario
This command limits the number of dynamic sessions only.
Precautions
Note the following when using the ntp-service max-dynamic-sessions command:
The ntp-service max-dynamic-sessions command is only run on a client. The server does not record the number of NTP sessions.
If this command is the first NTP configuration command, the system automatically adds the ntp-service server disable/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 server disable/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 server disable/ntp-service ipv6 server disable command from the configuration file.