Show ntp, Clock timezone-predefined – LevelOne FGL-2870 User Manual

Page 440

Advertising
background image

Command Line Interface

4-74

4

show ntp

This command displays the current time and configuration settings for the NTP
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 NTP mode (i.e., unicast).

Example

clock timezone-predefined

This command uses predefined time zone configurations to set the time zone for the
switch’s internal clock. Use the no form to restore the default.

Syntax

clock timezone-predefined offset-city
no clock timezone-predefined

offset - Select the offset from GMT. (Range: GMT-0100 - GMT-1200;

GMT-Greenwich-Mean-Time; GMT+0100 - GMT+1300)

city - Select the city associated with the chosen GMT offset. After the offset

has been entered, use the tab-complete function to display the available
city options.

Default Setting

GMT-Greenwich-Mean-Time-Dublin,Edinburgh,Lisbon,London

Command Mode

Global Configuration

Console#show ntp
Current Time : Jan 1 00:09:30 2001
Polling : 1024 seconds
Current Mode : unicast
NTP Status : Enabled
NTP Authenticate Status : Enabled
Last Update NTP Server : 0.0.0.0 Port: 0
Last Update Time : Dec 31 00:00:00 2000 UTC
NTP Server 192.168.3.20 version 3
NTP Server 192.168.3.21 version 3
NTP Server 192.168.3.22 version 2
NTP Server 192.168.4.50 version 3 key 30
NTP Server 192.168.5.35 version 3 key 19
NTP Authentication-Key 12 md5 156S46Q24142414222711K66N80 7
NTP Authentication-Key 19 md5 Q33O16Q6338241J022S29Q731K7 7
NTP Authentication-Key 30 md5 D2V8777I51K1132K3552L26R6141O4 7
NTP Authentication-Key 45 md5 3U865531O13K38F0R8 7
NTP Authentication-Key 125 md5 A48S2810327947M76 7
Console#

Advertising