Time Protocols

SNTP: Viewing, Selecting, and Configuring

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.

Syntax: 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.

3.Enable SNTP for Broadcast mode.

4.View the SNTP configuration again to verify the configuration. The commands and output would appear as follows:

ProCurve(config)# show sntp 1

SNTP Configuration

Time Sync Mode: Timep

SNTP Mode : disabled

Poll Interval (sec) [720] : 720

ProCurve(config)# timesync sntp 2

ProCurve(config)# sntp broadcast 3

5406_1(config)# show sntp 4

SNTP Configuration

4

show sntp displays the SNTP configuration and also shows that TimeP is the currently active time synchronization mode.

show sntp again displays the SNTP configuration and shows that SNTP is now the currently active time synchronization mode and is configured for broadcast operation.

Time Sync Mode: Sntp

SNTP Mode : Broadcast

Poll Interval (sec) [720] : 720

Note: The Protocol Version parameter will also appear in show sntp listings if the IP address of an SNTP server (used in Unicast mode) is configured in the switch. However, the protocol version is used only when SNTP is configured for Unicast operation. See “Enabling SNTP in Unicast Mode” on page 12.

Figure 9-7. Example of Enabling SNTP Operation in Broadcast Mode

9-11