Command Manual – NTP
H3C S7500E Series Ethernet Switches
Chapter 1 NTP Configuration Commands
1-12
View
VLAN interface view
Parameters
ip-address
: Multicast IP address, defaulting to 224.0.1.1. It is in the range 224.0.1.0 to
224.0.1.255.
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 and defaults to 16.
version number
: Specifies the NTP version, where
number
is in the range of 1 to 3 and
defaults to 3.
Description
Use the
ntp-service multicast-server
command to configure the device to work in the
NTP multicast server mode.
Use the
undo ntp-service multicast-server
command to remove the device as an
NTP multicast server.
Examples
# Configure the device to work in the multicast server mode and send NTP multicast
messages on VLAN-interface 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 vlan-interface 1
[Sysname-Vlan-interface1] ntp-service multicast-server 224.0.1.1 version 3
authentication-keyid 4
1.1.13 ntp-service refclock-master
Syntax
ntp-service refclock-master
[
ip-address
] [
stratum
]
undo ntp-service refclock-master [
ip-address
]
View
System view