Technical data
360 CHAPTER 11: SYSTEM MANAGEMENT
Perform the following configurations in system view.
NTP version number number ranges from 1 to 3 and defaults to 3; the
authentication key ID keyid ranges from 1 to 4294967295; interface-name or
interface-type interface-number specifies the IP address of an interface, from
which the source IP address of the NTP packets sent from the local switch to the
peer will be taken; priority indicates that the peer will be the first choice for time
server.
Configuring NTP Broadcast Server Mode Designate an interface on the local
switch to transmit NTP broadcast packets. In this case, the local equipment
operates in broadcast mode and serves as a broadcast server to broadcast
messages to its clients regularly.
Perform the following configurations in VLAN interface view.
NTP version number number ranges from 1 to 3 and defaults to 3; the
authentication key ID keyid ranges from 0 to 4294967295. This command can
only be configured on the interface where the NTP broadcast packets will be
transmitted.
Configuring NTP Broadcast Client Mode Designate an interface on the local
switch to receive NTP broadcast messages and operate in broadcast client mode.
The local switch listens to the broadcast from the server. When it receives the first
broadcast packets, it starts a brief client/server mode to switch messages with a
remote server for estimating the network delay. Thereafter, the local switch enters
broadcast client mode and continues listening to the broadcast, and synchronizes
the local clock according to the arrived broadcast message.
Perform the following configurations in VLAN interface view.
Tab le 66 Configuring NTP Peer Mode
Operation Command
Configure NTP peer mode ntp-service unicast-peer ip-address [
version number | authentication-key keyid |
source-interface { interface-name |
interface-type interface-number } | priority ]*
Cancel NTP peer mode undo ntp-service unicast-peer ip-address
Tab le 67 Configuring NTP Broadcast Server Mode
Operation Command
Configure NTP broadcast server mode ntp-service broadcast-server [
authentication-keyid keyid ] [ version
number ]
Cancel NTP broadcast server mode undo ntp-service broadcast-server
Tab le 68 Configuring NTP Broadcast Client Mode
Operation Command
Configure NTP broadcast client mode ntp-service broadcast-client
Disable NTP broadcast client mode undo ntp-service broadcast-client