3Com Switch 4200G Configuration Guide

NTP Implementation Mode Configuration 295
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.
NTP Implementation
Mode Configuration
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
Prerequisites 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.
Configuring NTP
Implementation Modes
Multicast mode
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.
Table 256 NTP implementation modes on an S4200G series switch (Continued)
NTP implementation mode Configuration on S4200G switches
Table 257 Configure NTP implementation modes
Operation Command Description
Enter system view system-view
Configure the
maximum number of
dynamic NTP sessions
ntp-service max-dynamic-sessions Optional
By default, the maximum number
of dynamic NTP sessions is 100.
Configure to operate in
NTP server mode
ntp-service unicast-server
remote-ip [
authentication-keyid key-id |
priority | source-interface
Vlan-interface
vlan-interface-number | version
number ]*
Optional
By default, the authentication is not
performed, the number argument is
set to 3, and a NTP server is not
preferred.
Configure to operate in
NTP peer mode
ntp-service unicast-peer
remote-ip [
authentication-keyid key-id |
priority | source-interface
Vlan-interface
vlan-interface-number | version
number ]*
Optional
By default, the authentication is not
performed, the number argument is
set to 3, and a peer is not preferred.
Enter VLAN interface
view
interface vlan-interface vlan-id