Sntp commands, Sntp client – LevelOne GTL-2691 User Manual

Page 809

Advertising
background image

C

HAPTER

24

| System Management Commands

Time

– 809 –

SNTP Commands

sntp client

This command enables SNTP client requests for time synchronization from

NTP or SNTP time servers specified with the

sntp server

command. Use the

no form to disable SNTP client requests.

S

YNTAX

[no] sntp client

D

EFAULT

S

ETTING

Disabled

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

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 server

command. It issues time synchronization requests

based on the interval set via the

sntp poll

command.

E

XAMPLE

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

NTP Commands

ntp authenticate

Enables authentication for NTP traffic

GC

ntp authentication-key

Configures authentication keys

GC

ntp client

Enables the NTP client for time updates from specified

servers

GC

ntp server

Specifies NTP servers to poll for time updates

GC

show ntp

Shows current NTP configuration settings

NE, PE

Manual Configuration Commands

clock timezone

Sets the time zone for the switch’s internal clock

GC

calendar set

Sets the system date and time

PE

show calendar

Displays the current date and time setting

NE, PE

Table 57: Time Commands (Continued)

Command

Function

Mode

Advertising