Sntp client – LevelOne GTL-2690 User Manual

Page 439

Advertising
background image

System Management Commands

23-36

23

sntp client

This command enables SNTP client requests for time synchronization from NTP or
SNTP time servers specified with the sntp servers command. Use the no form to
disable SNTP client requests.

Syntax

[no] sntp client

Default Setting

Disabled

Command Mode

Global Configuration

Command Usage

• The time acquired from time servers is used to record accurate dates and

times for log events. Without SNTP, the switch only records the time starting
from the factory default set at the last bootup (i.e., 00:00:00, Jan. 1, 2001).

• This command enables client time requests to time servers specified via the

sntp servers command. It issues time synchronization requests based on the
interval set via the sntp poll command.

Example

clock summertime (date)

Configures summer time (daylight savings time) for the

switch’s internal clock

GC

23-40

clock summertime

(predefined)

Configures summer time (daylight savings time) for the

switch’s internal clock

GC

23-41

clock summertime (recurring) Configures summer time (daylight savings time) for the

switch’s internal clock

GC

23-42

show clock

Shows the time zone and summer-time settings

PE

23-43

calendar set

Sets the system date and time

PE

23-44

show calendar

Displays the current date and time setting

NE, PE

23-44

Console(config)#sntp server 10.1.0.19
Console(config)#sntp poll 60
Console(config)#sntp client
Console(config)#end
Console#show sntp
Current time: Dec 23 02:52:44 2002
Poll interval: 60
Current mode: unicast
SNTP status : Enabled
SNTP server 137.92.140.80 0.0.0.0 0.0.0.0
Current server: 137.92.140.80
Console#

Table 23-13 Time Commands (Continued)

Command

Function

Mode

Page

Advertising