Time Protocols

SNTP: Viewing, Selecting, and Configuring

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 8-4. 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 second or third server, you must use the CLI. For more on SNTP operation with multiple servers, see “SNTP Unicast Time Polling with Multiple SNTP Servers” on page 22.

Syntax: timesync sntp

Selects SNTP as the time synchronization

 

method.

sntp unicast

Configures the SNTP mode for Unicast

 

operation.

sntp server <ip-addr> [version] Specifies the SNTP server. The default server version is 3.

8-10