beautypg.com

Time commands, Sntp client, Table 4-22 – Accton Technology ES3526XA User Manual

Page 296

background image

Command Line Interface

4-54

4

Time Commands

The system clock can be dynamically set by polling a set of specified NTP time
servers. Maintaining an accurate time on the switch enables the system log to
record meaningful dates and times for event entries. If the clock is not set, the switch
will only record the time from the factory default set at the last bootup.

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.

Table 4-22 Time Commands

Command

Function

Mode

Page

sntp client

Enables the SNTP client for time updates from specified servers GC

4-54

sntp server

Specifies one or more time servers

GC

4-55

sntp poll

Sets the interval at which the SNTP client polls for time

GC

4-56

show sntp

Shows current SNTP configuration settings

NE, PE

4-56

ntp client

Enables the NTP client for time updates from specified servers GC

4-57

ntp server

Specifies NTP servers to poll for time updates

GC

4-57

ntp poll

Sets the interval at which the NTP client polls for time

GC

4-58

ntp authenticate

Enables authentication for NTP traffic

GC

4-59

ntp authentication-key Configures authentication keys

GC

4-59

show ntp

Shows current NTP configuration settings

NE, PE

4-60

clock timezone

Sets the time zone for the switch’s internal clock

GC

4-61

calendar set

Sets the system date and time

PE

4-62

show calendar

Displays the current date and time setting

NE, PE

4-62

This manual is related to the following products: