Figure 8-3. 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 broadcast 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
parameter).
Syntax: timesync sntp
sntp < broadcast | unicast >
sntp server < ip-addr>
sntp poll-interval < 30 . . 720> Enabling the SNTP mode also
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
sntp broadcast
For example, suppose:
Time synchronization is in the factory-default configuration (TimeP
I
is the currently selected time synchronization method).
I
You want to:
1. View the current time synchronization.
2. Select SNTP as the time synchronization mode.
SNTP: Viewing, Selecting, and Configuring
Even though, in this example, TimeP is the
current time synchronous method, the
switch maintains the SNTP configuration.
command (or the Menu interface
Selects SNTP as the time protocol.
Enables the SNTP mode (below
and page 8-10).
Required only for unicast mode
(page 8-10).
enables the SNTP poll interval
(default: 720 seconds; page 8-12).
Selects SNTP as the time synchronization
method.
Configures
Broadcast
Time Protocols
Time Sync Method
as the SNTP mode.
8-9