C
HAPTER
22
| System Management Commands
Time
– 762 –
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
Current Time : Apr 29 13:57:32 2011
Polling : 1024 seconds
Current Mode : unicast
NTP Status : Disabled
NTP Authenticate Status : Enabled
Last Update NTP Server : 0.0.0.0 Port: 0
Last Update Time : Jan 1 00:00:00 1970 UTC
NTP Server 192.168.3.20 version 3
NTP Server 192.168.3.21 version 3
NTP Server 192.168.4.22 version 3 key 19
NTP Authentication Key 19 md5 42V68751663T6K11P2J307210R885
Console#
Manual Configuration Commands
clock timezone This command sets the time zone for the switch’s internal clock.
SYNTAX
clock timezone name hour hours minute minutes
{before-utc | after-utc}
name - Name of timezone, usually an acronym. (Range: 1-30
characters)
hours - Number of hours before/after UTC. (Range: 0-12 hours
before UTC, 0-13 hours after UTC)
minutes - Number of minutes before/after UTC. (Range: 0-59
minutes)
before-utc - Sets the local time zone before (west) of UTC.
after-utc - Sets the local time zone after (east) of UTC.
DEFAULT SETTING
None
COMMAND MODE
Global Configuration