Configuring Optional Parameters Of Ntp; Specifying The Source Interface For Ntp Messages; Disabling An Interface From Receiving Ntp Messages - H3C S3100V2-52TP Configuration Manual

Network management and monitoring
Hide thumbs Also See for S3100V2-52TP:
Table of Contents

Advertisement

To do...
Configure the device to work in
NTP multicast server mode
NOTE:
A multicast server can synchronize broadcast clients only when its clock has been synchronized.
You can configure up to 1024 multicast clients, among which 128 can take effect at the same time.

Configuring optional parameters of NTP

Specifying the source interface for NTP messages

If you specify the source interface for NTP messages, the device sets the source IP address of the NTP
messages as the primary IP address of the specified interface when sending the NTP messages.
When the device responds to an NTP request received, the source IP address of the NTP response is
always the IP address of the interface that received the NTP request.
Following these steps to specify the source interface for NTP messages:
To do...
Enter system view
Specify the source
interface for NTP messages
CAUTION:
If you have specified the source interface for NTP messages in the ntp-service unicast-server or
ntp-service unicast-peer command, the interface specified in the ntp-service unicast-server or
ntp-service unicast-peer command serves as the source interface of NTP messages.
If you have configured the ntp-service broadcast-server or ntp-service multicast-server command, the
source interface of the broadcast or multicast NTP messages is the interface configured with the
respective command.
If the specified source interface for NTP messages is down, the source IP address for an NTP message
that is sent out is the primary IP address of the outgoing interface of the NTP message.

Disabling an interface from receiving NTP messages

When NTP is enabled, NTP messages can be received from all the interfaces by default.
Follow these steps to disable an interface from receiving NTP messages:
To do...
Enter system view
Use the command...
ntp-service multicast-server
[ ip-address ]
[ authentication-keyid keyid | ttl
ttl-number | version number ] *
Use the command...
system-view
ntp-service source-interface
interface-type
interface-number
Use the command...
system-view
18
Remarks
Required
Remarks
Required
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.
Remarks

Advertisement

Table of Contents
loading

Table of Contents