Management and Configuration Guide K/KA/KB.15.15

This command configures SNTP and specifies whether the switch operates in broadcast or unicast
mode. If no mode is specified, then the mode defaults to broadcast.
Broadcast mode output: (HP_Switch_name#) sntp broadcast
or
Unicast mode output:(HP_Switch_name#) sntp unicast
IMPORTANT: To enable SNTP client authentication, you must configure either unicast or broadcast
mode.
To set the SNTP mode or change from one mode to the other, enter the appropriate command.
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
(HP_Switch_name#) timesync sntp
Selects SNTP as the time synchronization method.
Syntax
(HP_Switch_name#)sntp broadcast
Configures broadcast as the SNTP mode.
Example
Suppose the time synchronization is in the factory default configuration (TimeP is the currently
selected time synchronization method.) Complete the following:
1. View the current time synchronization: show sntp displays the SNTP configuration and also
shows that TimeP is the currently active time synchronization mode.
2. Select SNTP as the time synchronization mode.
3. Enable SNTP for Broadcast mode.
4. View the SNTP configuration again to verify the configuration.
The commands and output appear as follows:
Figure 1 Enabling SNTP operation in Broadcast Mode
Enabling SNTP in unicast mode
When running SNTP unicast time polling as the time synchronization method, the switch requests
a time update from the server you configured, with either the server address parameter in the menu
interface, or the primary server in a list of up to three SNTP servers configured using the CLI. If the
switch does not receive a response from the primary server after three consecutive polling intervals,
the switch tries the next server (if any) in the list. If the switch tries all servers in the list without
24 Time Protocols