Specifying The Source Interface For Ntp Messages; Disabling An Interface From Processing Ntp Messages - H3C SR6600-X Configuration Manual

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

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, you can configure the device to use a
loopback interface as the source IP address for the NTP messages to be sent.
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 [ ipv6 ] unicast-server
or ntp-service [ ipv6 ] unicast-peer command, the interface specified in the ntp-service [ ipv6 ]
unicast-server or ntp-service [ ipv6 ] unicast-peer command works as the source interface for NTP
messages.
If you have configured the ntp-service broadcast-server or ntp-service [ ipv6 ] multicast-server
command, the source interface for the broadcast or multicast NTP messages is the interface
configured with the respective command.
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 processing NTP messages

When NTP is enabled, all interfaces by default can process NTP messages. For security purposes, you
can disable some of the interfaces from processing NTP messages.
To disable an interface from processing NTP messages:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Disable the interface from
processing NTP messages.
Command
system-view
Specify the source interface for
NTP messages:
ntp-service source
interface-type interface-number
Specify the source interface for
IPv6 NTP messages:
ntp-service ipv6 source
interface-type interface-number
Command
system-view
interface interface-type
interface-number
For IPv4:
undo ntp-service inbound
enable
For IPv6:
undo ntp-service ipv6 inbound
enable
85
Remarks
N/A
By default, no source interface is
specified for NTP messages.
Remarks
N/A
N/A
By default, an interface processes
NTP messages.

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents