16
Configuring the multicast server
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type
interface-number
Enter the interface for sending
NTP multicast message.
3.
Configure the device to
operate in multicast server
mode.
•
Configure the device to
operate in multicast server
mode:
ntp-service
multicast-server
[ ip-address ]
[ authentication-keyid
keyid | ttl ttl-number |
version number ] *
•
Configure the device to
operate in multicast server
mode:
ntp-service ipv6
multicast-server
ipv6-multicast-address
[ authentication-keyid
keyid
|
ttl-number ]
*
By default, the device does not
operate in multicast server mode.
After you execute the command,
the device receives NTP multicast
messages from the specified
interface.
Configuring access control rights
1. Enter system view.
N/A
2. Configure the right for peer
devices to access the NTP
services on the local device.
• Configure the right for peer
devices to access the IPv4
NTP services on the local
device:
ntp-service access { peer |
query | server |
synchronization }
ipv4-acl-number
• Configure the right for peer
devices to access the IPv6
NTP services on the local
device:
ntp-service ipv6 { peer |
query | server |
synchronization } acl
ipv6-acl-number
By default
, the right for peer
devices to access the NTP
services on
peer.
Before you configure the NTP service access control right to the local device, create and configure
an ACL associated with the access control right. For more information about ACL, see ACL and QoS
Configuration Guide.
Configuring NTP authentication
This section provides instructions for configuring NTP authentication.