NTP Implementation
Mode Configuration
Prerequisites
Configuring NTP
Implementation Modes
Table 256 NTP implementation modes on an S4200G series switch (Continued)
NTP implementation mode
Multicast mode
CAUTION: An S4200G series switch can operate in NTP peer mode, NTP broadcast
server mode or NTP multicast server mode only after it is synchronized.
A switch can operate in the following NTP modes:
NTP server mode
■
NTP peer mode
■
NTP broadcast server mode
■
NTP broadcast client mode
■
NTP multicast server mode
■
NTP multicast client mode
■
When an S4200G switch operates in NTP server mode or NTP peer mode, you need to
perform configuration on the client or the active peer only. When an S4200G switch
operates in NTP broadcast mode or NTP multicast mode, you need to perform
configurations on both the server side and the client side.
Table 257 Configure NTP implementation modes
Operation
Command
Enter system view
system-view
Configure the
ntp-service max-dynamic-sessions
maximum number of
dynamic NTP sessions
Configure to operate in
ntp-service unicast-server
NTP server mode
remote-ip [
authentication-keyid key-id |
priority | source-interface
Vlan-interface
vlan-interface-number | version
number ]*
Configure to operate in
ntp-service unicast-peer
NTP peer mode
remote-ip [
authentication-keyid key-id |
priority | source-interface
Vlan-interface
vlan-interface-number | version
number ]*
Enter VLAN interface
interface vlan-interface vlan-id
view
NTP Implementation Mode Configuration 295
Configuration on S4200G switches
Configure the S4200G to operate in NTP
■
multicast server mode. In this case, the
S4200G switch sends multicast NTP
packets through the VLAN interface
configure on it.
Configure the S4200G switch to operate
■
in NTP multicast client mode. In this case,
the S4200G switch receives multicast NTP
packets through the VLAN interface
configure on it.
Description
—
Optional
By default, the maximum number
of dynamic NTP sessions is 100.
Optional
By default, the authentication is not
performed, the number argument is
set to 3, and a NTP server is not
preferred.
Optional
By default, the authentication is not
performed, the number argument is
set to 3, and a peer is not preferred.
—