R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide
61
Configuration guidelines
• The source interface for NTP unicast messages is the interface specified in the ntp-service
unicast-server or ntp-service unicast-peer command.
• The source interface for NTP broadcast or multicast messages is the interface where you configure
the ntp-service broadcast-server or ntp-service multicast-server command.
• If the specified source interface goes down, NTP uses the primary IP address of the outgoing
interface as the source IP address.
Configuration procedure
To specify the source interface for NTP messages:
Ste
p
Command
Remarks
1. Enter system view.
system-view
N/A
2. Specify the source interface
for NTP messages.
ntp-service source-interface
interface-type interface-number
By default, no source interface is
specified for NTP messages, and
the system uses the IP address of
the interface determined by the
matching route as the source IP
address of NTP messages.
Disabling an interface from receiving NTP messages
If NTP is enabled, NTP messages can be received from all the interfaces by default, and you can disable
an interface from receiving NTP messages through the following configuration.
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Disable the interface from
receiving NTP messages.
ntp-service in-interface disable
By default, an interface is enabled
to receive NTP messages.
Configuring the allowed maximum number of dynamic
sessions
A single device can have a maximum of 128 associations at the same time, including static associations
and dynamic associations.
A static association refers to an association that a user has manually created by using an NTP command.
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 execute a command to synchronize the time to a server, the
system creates a static association, and the server simply 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