8-9
Time Protocols
SNTP: Viewing, Selecting, and Configuri ng
Time Protocols
Figure 8-6. Example of SNTP Configuration When SNTP Is Not the Selected Time
Synchronization Method
Configuring (Enabling or Disabling) the SNTP Mode
Enabling the SNTP mode means to configure it for either broa dcast or unicast
mode. Remember that to run SNTP as the switch’s time synchronization
protocol, you must also select SNTP as the time synchronization method by
using the CLI timesync command (or the Menu interface Time Sync Method
parameter).
Syntax: timesync sntpSelects SNTP as the time
protocol.
sntp < broadcast | unicast >Enables the SNTP mode (below
and page 8-10).
sntp server < ip-addr>Required only for unicast mode
(page 8-10).
sntp poll-interval < 30 . . 720>Enabling the SNTP mode also
enables the SNTP poll
interval (default: 720 seconds;
page 8-12).
Enabling SNTP in Broadcast Mode. Because the switch provides an SNTP
polling interval (default: 720 seconds), you need only these two commands
for minimal SNTP broadcast configuration:
Syntax: timesync sntp Selects SNTP as the time synchronization
method.
sntp broadcast Configures Broadcast as the SNTP mode.
For example, suppose:
■Time synchronization is in the factory-default configuration (TimeP
is the currently selected time synchronization method).
■You want to:
1. View the current time synchronization.
2. Select SNTP as the time synchronization mode.
Even though, in this example, TimeP is the
current time synchronous method, the
switch maintains the SNTP configuration.