ntp-service max-dynamic-sessions
Function
The ntp-service max-dynamic-sessions command sets the maximum dynamic NTP sessions that can be set up.
The undo ntp-service max-dynamic-sessions command restores the maximum dynamic NTP sessions to the default value.
By default, up to 100 NTP dynamic sessions are allowed to be set up.
Parameters
Parameter | Description | Value |
---|---|---|
number | Indicates the number of dynamic sessions allowed to be set up. |
The number of dynamic NTP sessions is an integer that ranges from 0 to 100. The default value is 100. |
Usage Guidelines
Usage Scenario
A maximum of 128 sessions can be established on the same device running the NTP service in the same period, including static and dynamic sessions. In both unicast server/client mode and symmetric peer mode, command lines are used to establish static sessions. The dynamic sessions are established in broadcast mode, manycast mode, or multicast mode.
Excessive dynamic sessions directly affect the establishment of static sessions. A user can limit the number of local dynamic sessions solve this problem.
Precautions
- NTP dynamic sessions established are not affected. That is, when the number of the dynamic sessions exceeds the limit, the dynamic sessions established are not deleted, but a new dynamic session cannot be established.
- The limit on the number of local dynamic sessions allowed should be configured on the client because the server does not record the number of the established NTP sessions.