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:

1

4

4

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

2

3

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.

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

Enabling SNTP in Unicast Mode. Like broadcast mode, configuring SNTP for unicast mode enables SNTP. However, for Unicast operation, you must also specify the IP address of at least one SNTP server. The switch allows up to three unicast servers. You can use the Menu interface or the CLI to configure one server or to replace an existing Unicast server with another. To add a

9-11