The ntp-service max-dynamic-sessions command sets the maximum dynamic NTP session allowed to be set up.
The undo ntp-service max-dynamic-sessions command restores the default.
By default, 100 sessions are allowed to be set up.
| Parameter | Description | Value |
|---|---|---|
number |
Specifies the number of dynamic NTP sessions allowed to be set up. |
The value is in the range of 0 to 100. By default, it is 100. |
Note the following when using the ntp-service max-dynamic-sessions command:
This command limits the number of only dynamic sessions, not static sessions.
Using this command does not affect the NTP session that has been set up. When the number of sessions exceeds the limitation, session cannot be set up any more.
Configure this command only on the client. The server does not record the number NTP sessions.
Unicast server/client mode and peer mode are configured through the command line. So, sessions between them are static. Sessions set up in the broadcast, multicast and manycast modes are dynamic.