4 Command Line Interface

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

Console#show ntp

1 02:58:58 2001

 

Current time:

Jan

 

Poll interval:

16

 

 

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#

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-cityno 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

4-72

Page 368
Image 368
Accton Technology ES3528M-SFP Show ntp, Clock timezone-predefined, GMT-Greenwich-Mean-Time-Dublin,Edinburgh,Lisbon,London