Show sntp, Ntp client – LevelOne FGL-2870 User Manual

Page 436

Advertising
background image

Command Line Interface

4-70

4

Example

Related Commands

sntp client (4-68)

show sntp

This command displays the current time and configuration settings for the SNTP
client, and indicates whether or not the local time has been properly updated.

Command Mode

Normal Exec, Privileged Exec

Command Usage

This command displays the current time, the poll interval used for sending
time synchronization requests, and the current SNTP mode (i.e., unicast).

Example

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).

Console(config)#sntp poll 60
Console(config)#

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#

Advertising