Specifying the source interface for NTP messages
To prevent interface status changes from causing NTP communication failures, configure the device
to use the IP address of an interface that is always up, for example, a loopback interface, as the
source IP address for the NTP messages to be sent. Set the loopback interface as the source
interface so that any interface status change on the device will not cause NTP messages to be
unable to be received.
When the device responds to an NTP request, the source IP address of the NTP response is always
the IP address of the interface that has received the NTP request.
Follow these guidelines when you specify the source interface for NTP messages:
•
If you have specified the source interface for NTP messages in the ntp-service
unicast-server/ntp-service ipv6 unicast-server or ntp-service unicast-peer/ntp-service
ipv6 unicast-peer command, the specified interface acts as the source interface for NTP
messages.
•
If you have configured the ntp-service broadcast-server or ntp-service
multicast-server/ntp-service ipv6 multicast-server command in an interface view, this
interface acts as the source interface for broadcast or multicast NTP messages.
To specify the source interface for NTP messages:
Step
1.
Enter system view.
2.
Specify the source interface
for NTP messages.
Disabling an interface from receiving NTP messages
When NTP is enabled, all interfaces by default can receive NTP messages. For security purposes,
you can disable some of the interfaces from receiving NTP messages.
To disable an interface from receiving NTP messages:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Disable the interface from
receiving NTP messages.
Command
system-view
•
Specify the source interface
for
NTP
messages:
ntp-service
interface-type
interface-number
•
Specify the source interface
for IPv6 NTP messages:
ntp-service
ipv6
interface-type
interface-number
Command
system-view
interface
interface-type
interface-number
•
For
undo ntp-service inbound
enable
•
For
undo
ntp-service
inbound enable
24
Remarks
N/A
source
By default, no source interface is
specified for NTP messages.
source
Remarks
N/A
N/A
IPv4:
By default, an interface receives
NTP messages.
IPv6:
ipv6
Need help?
Do you have a question about the FlexNetwork 5510 HI Series and is the answer not in the manual?