107
by using an NTP command. A dynamic association is a temporary association created by the system
during operation.
This command limits the number of dynamic NTP associations and prevents dynamic NTP
associations from occupying too many system resources.
Examples
# Set the maximum number of dynamic NTP associations to 50.
<Sysname> system-view
[Sysname] ntp-service max-dynamic-sessions 50
Related commands
display ntp-service sessions
ntp-service multicast-client
Use ntp-service multicast-client to configure the device to operate in NTP multicast client mode
and use the current interface to receive NTP multicast packets.
Use undo ntp-service multicast-client to remove the configuration.
Syntax
ntp-service multicast-client [ ip-address ]
undo ntp-service multicast-client [ ip-address ]
Default
The device does not operate in any NTP association mode.
Views
Interface view
Predefined user roles
network-admin
Parameters
ip-address: Specifies a multicast IP address. The default is 224.0.1.1. A multicast server and client
must be configured with the same multicast IP address.
Usage guidelines
After you configure the command, the device listens to NTP messages using the specified multicast
address as the destination address.
If you have configured the device to operate in multicast client mode on an interface with the
command, do not add the interface to any aggregate group. To add the interface to an aggregate
group, remove the configuration of the command.
Examples
# Configure the device to operate in multicast client mode and receive NTP multicast messages on
GigabitEthernet 1/0/1, and set the multicast address to 224.0.1.1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] ntp-service multicast-client 224.0.1.1
Related commands
ntp-service multicast-server