4 Command Line Interface

Example

Console#show sntp

Current time: Dec 23 05:13:28 2002

Poll interval: 16

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#

ntp client

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

Syntax

[no] ntp client

Default Setting

Disabled

Command Mode

Global Configuration

Command Usage

The SNTP and NTP clients cannot be enabled at the same time. First disable the SNTP client before using this command.

The time acquired from time servers is used to record accurate dates and times for log events. Without NTP, 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 ntp servers command. It issues time synchronization requests based on the interval set via the ntp poll command.

Example

Console(config)#ntp client

Console(config)#

Related Commands

sntp client (4-65) ntp poll (4-70) ntp server (4-69)

4-68

Page 364
Image 364
Accton Technology ES3528M-SFP Ntp client, Syntax No ntp client Default Setting, Sntp client 4-65 ntp poll 4-70 ntp server