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, a maximum of 100 NTP dynamic sessions can be set up.
Parameter | Description | Value |
---|---|---|
number |
Specifies the number of dynamic sessions that can be set up. |
The value is an integer that ranges from 0 to 100, and the default value is 100. |
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 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