R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference
84
Default
The device does not operate in any NTP operation mode.
Views
Interface view
Default command level
3: Manage level
Parameters
ip-address: Specifies a multicast IP address in the range of 224.0.1.0 to 239.255.255.255. The default
is 224.0.1.1.
authentication-keyid keyid: Specifies the key ID to be used for sending multicast messages to multicast
clients, where keyid is in the range of 1 to 4294967295. This parameter is not meaningful if
authentication is not required.
ttl ttl-number: Specifies the TTL of NTP multicast messages, where ttl-number is in the range of 1 to 255.
The default is 16.
version number: Specifies the NTP version. The value range for the number argument is 1 to 4, and the
default is 3.
Examples
# Configure the device to operate in multicast server mode and send NTP multicast messages on
GigabitEthernet 2/0/1 to the multicast address 224.0.1.1, using key 4 for encryption, and set the NTP
version to 3.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] ntp-service multicast-server 224.0.1.1 version 3
authentication-keyid 4
ntp-service refclock-master
Use ntp-service refclock-master to configure the local clock as a reference source for other devices.
Use undo ntp-service refclock-master to remove the configuration.
Syntax
ntp-service refclock-master [ ip-address ] [ stratum ]
undo ntp-service refclock-master [ ip-address ]
Views
System view
Default command level
3: Manage level
Parameters
ip-address: IP address of the local clock, which is 127.127.1.u, where u is the NTP process ID in the range
of 0 to 3. If you do not specify ip-address, i t d e f a u l t s t o 127.127.1.0 .
stratum: Specifies the stratum level of the local clock, in the range of 1 to 15. The default is 8.