Configuring sntp, Figure 4-25, Sntp configuration – LevelOne GTL-2690 User Manual

Page 113

Advertising
background image

Setting the System Clock

4-37

4

Configuring SNTP

You can configure the switch to send time synchronization requests to time servers.

Command Attributes
SNTP Client – Configures the switch to operate as an SNTP client. This requires

at least one time server to be specified in the SNTP Server field. (Default: Disabled)

SNTP Poll Interval – Sets the interval between sending requests for a time update

from a time server. (Range: 16-16384 seconds; Default: 16 seconds)

SNTP Server Sets the IP address for up to three time servers. The switch

attempts to update the time from the first server, if this fails it attempts an update
from the next server in the sequence.

Update Time – Click the Update Time button to send a request to the configured

SNTP servers to immediately update the system time.

Web – Select SNTP, Configuration. Modify any of the required SNTP parameters,
and click Apply. To send an immediate request to the configured servers, click
Update Time.

Figure 4-25 SNTP Configuration

CLI – This example configures the switch to operate as an SNTP client and then
displays the current time and settings.

Console(config)#sntp client

23-36

Console(config)#sntp poll 16

23-37

Console(config)#sntp server 10.1.0.19 137.82.140.80 128.250.36.2

23-37

Console(config)#sntp update-time

23-38

Console(config)#exit
Console#show sntp

23-38

Current time: Jan 6 14:56:05 2004
Poll interval: 60
Current mode: unicast
SNTP status : Enabled
SNTP server 10.1.0.19 137.82.140.80 128.250.36.2
Current server: 128.250.36.2
Console#

Advertising