R3204P16-HP Load Balancing Module System Management Command Reference-6PW101

89
Description
Use the ntp-service max-dynamic-sessions command to set the maximum number of dynamic NTP
sessions that are allowed to be established locally.
Use the undo ntp-service max-dynamic-sessions command to restore the maximum number of dynamic
NTP sessions to the system default.
By default, the number is 100.
A single device can have a maximum of 128 concurrent associations, including static associations and
dynamic associations. A static association refers to an association that a user has manually created by
using an NTP command, while a dynamic association is a temporary association created by the system
during operation. A dynamic association is removed if the system fails to receive messages from it over
a specific long time. In client/server mode, for example, when you carry out a command to synchronize
the time to a server, the system creates a static association, and the server just responds passively upon
the receipt of a message, rather than creating an association (static or dynamic). In symmetric mode,
static associations are created at the symmetric-active peer side, and dynamic associations are created
at the symmetric-passive peer side. In broadcast or multicast mode, static associations are created at the
server side, and dynamic associations are created at the client side.
Examples
# Set the maximum number of dynamic NTP sessions allowed to be established to 50.
<Sysname> system-view
[Sysname] ntp-service max-dynamic-sessions 50
ntp-service multicast-client
Syntax
ntp-service multicast-client [ ip-address ]
undo ntp-service multicast-client [ ip-address ]
View
Interface view
Default level
3: Manage level
Parameters
ip-address: Multicast IP address, which defaults to 224.0.1.1.
Description
Use the ntp-service multicast-client command to configure the device to work in the NTP multicast client
mode and use the current interface to receive NTP multicast packets.
Use the undo ntp-service multicast-client command to remove the configuration.
By default, the device does not work in the NTP multicast client mode.
Examples
# Configure the device to work in the multicast client mode and receive NTP multicast messages on
Ten-GigabitEthernet 0/0.1, and set the multicast address to 224.0.1.1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet0/0.1
Sysname-Ten-GigabitEthernet0/0.1] ntp-service multicast-client 224.0.1.1