1-9
Configuring a switch to work in the NTP broadcast server mode
Follow these steps to configure a switch to work in the NTP broadcast server mode:
To do… Use the command… Remarks
Enter system view
system-view
—
Enter VLAN interface view
interface Vlan-interface
vlan-id
—
Configure the switch to work in
the NTP broadcast server
mode
ntp-service broadcast-server
[ authentication-keyid key-id |
version number ]*
Required
Not configured by default.
Configuring a switch to work in the NTP broadcast client mode
Follow these steps to configure a switch to work in the NTP broadcast client mode:
To do… Use the command… Remarks
Enter system view
system-view
—
Enter VLAN interface view
interface Vlan-interface
vlan-id
—
Configure the switch to work in
the NTP broadcast client mode
ntp-service broadcast-client
Required
Not configured by default.
Configuring NTP Multicast Mode
For switches working in the multicast mode, you need to configure both the server and clients. The
multicast server periodically sends NTP multicast messages to multicast clients. The switches working
in the NTP multicast client mode will respond to the NTP messages, so as to start the clock
synchronization.
An H3C S5100-SI/EI series Ethernet switch can work as a multicast server or a multicast client.
z Refer to Configuring a switch to work in the multicast server mode for configuring a switch to work
in the NTP multicast server mode.
z Refer to Configuring a switch to work in the multicast client mode for configuring a switch to work in
the NTP multicast client mode.