System Management Commands
4-71
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 02:58:58 2001
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#
Содержание 6128PL2
Страница 2: ......
Страница 8: ...viii ...
Страница 26: ...Contents xviii ...
Страница 30: ...Tables xxii ...
Страница 52: ...Initial Configuration 2 10 2 ...
Страница 308: ...Configuring the Switch 3 256 3 ...
Страница 473: ...SNMP Commands 4 165 4 ...
Страница 644: ...Command Line Interface 4 336 4 ...
Страница 648: ...Software Specifications A 4 A ...
Страница 663: ......