296
C
35: NTP C
HAPTER
ONFIGURATION
Table 257 Configure NTP implementation modes (Continued)
Operation
Configure to operate in
NTP broadcast client
mode
Configure to operate in
NTP broadcast server
mode
Configure to operate in
NTP multicast client
mode
Configure to operate in
NTP multicast server
mode
Display the status
information of NTP
service
Display the session
information maintained
by the NTP service
NTP server mode
When an S4200G series switch operates in NTP server mode,
The remote server identified by the remote-ip argument operates as the NTP time
■
server. The S4200G series switch operates as the client, whose clock is
synchronized to the NTP server. (In this case, the clock of the NTP server is not
synchronized to the local client.)
When the remote-ip argument is an IP address of a host, it cannot be a broadcast
■
or a multicast address, neither can it be the IP address of a reference clock.
NTP peer mode
When an S4200G series switch operates in NTP peer mode,
The remote server identified by the remote-ip argument operates as the peer of
■
the S4200G series switch, and the S4200G series switch operates as the active
peer. The clock of the S4200G series switch can be synchronized to the remote
server or be used to synchronize the clock of the remote server.
When the remote-ip argument is an IP address of a host, it cannot be a broadcast
■
or a multicast address, neither can it be the IP address of a reference clock.
NTP broadcast server mode
When an S4200G series switch operates in NTP broadcast server mode, it broadcasts
a clock synchronization packet periodically. The devices which are configured to be in
the NTP broadcast client mode will response this packet and start the clock
synchronization procedure.
NTP multicast server mode
When an S4200G series switch operates in NTP multicast server mode, it multicasts a
clock synchronization packet periodically. The devices which are configured to be in
the NTP multicast client mode will response this packet and start the clock
synchronization procedure. In this mode, the switch can accommodate up to 1024
multicast clients.
Command
ntp-service broadcast-client
ntp-service broadcast-server [
authentication-keyid key-id |
version number ]*
ntp-service multicast-client [
ip-address ]
ntp-service multicast-server [
ip-address ] [
authentication-keyid keyid | ttl
ttl-number | version number ]*
display ntp-service status
display ntp-service sessions [
verbose ]
Description
Optional
Optional
By default, the number argument is
set to 3.
Optional
By default, the multicast IP address
is 224.0.1.1.
Optional
By default, the multicast IP address
is 224.0.1.1 and the ttl-number
argument is set to 16.
These commands can be executed
in any view.