R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

134
Examples
# Configure the device to operate in the multicast client mode and receive NTP multicast messages on
GigabitEthernet 0/1, and set the multicast address to 224.0.1.1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] ntp-service multicast-client 224.0.1.1
ntp-service multicast-server
Syntax
ntp-service multicast-server [ ip-address ] [ authentication-keyid keyid | ttl ttl-number | version number ]
*
undo ntp-service multicast-server [ ip-address ]
View
Interface view
Default level
3: Manage level
Parameters
ip-address: Multicast IP address, which defaults to 224.0.1.1.
authentication-keyid keyid: Specifies the key ID to be used for sending multicast messages to multicast
clients, where keyid ranges from 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 ranges from 1 to 255 and
defaults to 16.
version number: Specifies the NTP version, where number ranges from 1 to 3 and defaults to 3.
Description
Use ntp-service multicast-server to configure the device to operate in the NTP multicast server mode and
use the current interface to send NTP multicast packets.
Use undo ntp-service multicast-server to remove the configuration.
By default, the device does not operate in any NTP operation mode.
Examples
# Configure the device to operate in the multicast server mode and send NTP multicast messages on
GigabitEthernet 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 0/1
[Sysname-GigabitEthernet0/1] ntp-service multicast-server 224.0.1.1 version 3
authentication-keyid 4
ntp-service refclock-master
Syntax
ntp-service refclock-master [ ip-address ] [ stratum ]