Displaying The Time And Date Configuration - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Managing the System Time and Date

Displaying the Time and Date Configuration

To display the time and date configuration, use the show clock [detail] privileged EXEC command.
The system clock keeps an authoritative flag that shows whether the time is authoritative (believed to be
accurate). If the system clock was set by a timing source such as NTP, the flag is set. If the time is not
authoritative, it is used only for display purposes. Until the clock is authoritative and the authoritative
flag is set, the flag prevents peers from synchronizing to the clock when the peers' time is invalid.
The symbol that precedes the show clock display has this meaning:
Configuring the Time Zone
To manually configure the time zone, perform this task:
Command
Step 1
configure terminal
Step 2
clock timezone zone hours-offset
[
minutes-offset
Step 3
end
Step 4
show running-config
Step 5
copy running-config startup-config
The minutes-offset variable in the clock timezone global configuration command is available for those
cases where a local time zone is a percentage of an hour different from UTC. For example, the time zone
for some sections of Atlantic Canada (AST) is UTC-3.5, where the 3 means 3 hours and .5 means 50
percent. The necessary command is clock timezone AST -3 30.
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
4-12
*—Time is not authoritative.
(blank)—Time is authoritative.
.—Time is authoritative, but NTP is not synchronized.
Purpose
Enters global configuration mode.
Sets the time zone.
]
To set the time to UTC, use the no clock timezone global configuration
command.
The switch keeps internal time in universal time coordinated (UTC), so
this command is used only for display purposes and when the time is
manually set.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
For zone, enter the name of the time zone to be displayed when
standard time is in effect. The default is UTC.
For hours-offset, enter the hours offset from UTC.
(Optional) For minutes-offset, enter the minutes offset from UTC.
Chapter 4
Administering the Switch

Advertisement

Table of Contents
loading

Table of Contents