NTP 281
than a broadcast, multicast, or reference clock IP address. In this mode, both the
local switch and the remote server can synchronize their clocks with the clock of
the opposite end.
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.
Table 320 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
Table 321 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