HP (Hewlett-Packard) 5348XL Switch User Manual


 
Time Protocols
SNTP: Viewing, Selecting, and Configuring
In the factory-default configuration (where TimeP is the selected time
synchronization method),
show sntp still lists the SNTP configuration even
though it is not currently in use. For example:
Even though, in this example, TimeP is the
current time synchronous method, the
switch maintains the SNTP configuration.
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 switchs 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 sntp
sntp < broadcast | unicast >
sntp server < ip-addr>
Selects SNTP as the time protocol.
Enables the SNTP mode (below
and
page 8-10).
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:
8-9