Configuring the maximum number of dynamic associations

NTP has the following types of associations:

The following describes how an association is established in different association modes:

A single device can have a maximum of 128 concurrent associations, including static associations and dynamic associations.

Perform this task to restrict the number of dynamic associations to prevent dynamic associations from occupying too many system resources.

To configure the maximum number of dynamic associations:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure the maximum number of dynamic sessions allowed to be established.

ntp-service max-dynamic-sessions number

By default, the command can establish up to 100 dynamic sessions.