H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – NTP
H3C S7500 Series Ethernet Switches Chapter 1
NTP Configuration Commands
1-7
Examples
# Configure to receive NTP broadcast packets through VLAN-interface 1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface vlan-interface1
[H3C-Vlan-Interface1] ntp-service broadcast-client
1.1.8 ntp-service broadcast-server
Syntax
ntp-service broadcast-server [ authentication-keyid keyid version number ]*
undo ntp-service broadcast-server
View
VLAN interface view
Parameters
authentication-keyid: Specifies an authentication key.
keyid: Key ID used in broadcast, ranging from 1 to 4,294,967,295.
version: Defines an NTP version number.
number: NTP version number, ranging from 1 to 3.
Description
Use the ntp-service broadcast-server command to configure NTP broadcast server
mode.
Use the undo ntp-service broadcast-server command to disable the NTP broadcast
server mode.
By default, the broadcast service is disabled. When no NTP version number is specified,
the default version number is 3.
Designate an interface on the local device to broadcast NTP packets. The local device
runs in broadcast-server mode and regularly broadcasts packets to its clients.
Examples
# Configure to broadcast NTP packets through VLAN-interface 1. Encrypt them with
Key 4 and set the NTP version number to 3.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface vlan-interface1
[H3C-Vlan-Interface1] ntp-service broadcast-server authentication-key 4
version 3