![H3C S3100 Series Скачать руководство пользователя страница 760](http://html1.mh-extra.com/html/h3c/s3100-series/s3100-series_command-manual_3591810760.webp)
Command Manual (For Soliton) – NTP
H3C S3100 Series Ethernet Switches
Chapter 1 NTP Configuration Commands
1-9
Example
# Configure the switch to operate in the broadcast client mode and receive NTP
broadcast messages through Vlan-interface1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Vlan-interface1
[Sysname-Vlan-interface1] ntp-service broadcast-client
1.1.8 ntp-service broadcast-server
Syntax
ntp-service broadcast-server [ authentication-keyid
key-id
| version
number
]*
undo ntp-service broadcast-server
View
VLAN interface view
Parameter
authentication-keyid key-id
: Specifies the key ID used for sending messages to
broadcast clients. The
key-id
argument ranges from 1 to 4294967295. You do not need
to configure
authentication-keyid key-id
if authentication is not required.
version number
: Specifies the NTP version number which ranges from 1 to 3. The
default version number is 3.
Description
Use the
ntp-service
broadcast-server
command to configure an Ethernet switch to
operate in the NTP broadcast server mode and send NTP broadcast messages
through the current interface.
Use the
undo ntp-service
broadcast-server
command to remove the configuration.
By default, no Ethernet switch operates in the NTP broadcast server mode.
Example
# Configure the switch to send NTP broadcast messages through Vlan-interface1 and
use authentication key 4 for encryption, and set the NTP version number to 3.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Vlan-interface 1
[Sysname-Vlan-interface1] ntp-service broadcast-server authentication-key 4
version 3