124 Clock
Syntax
•
clock source
{
sntp
}
• no clock source
•
sntp
— SNTP servers
Default Configuration
No external clock source.
Command Mode
Global Configuration mode.
User Guidelines
• There are no user guidelines for this command.
Examples
The following example configures an external time source for the system clock.
clock timezone
The clock timezone Global Configuration mode command sets the time zone for display purposes. Use
the no form of this command to set the time to Coordinated Universal Time (UTC).
Syntax
•
clock timezone
hours-offset
[
minutes
minutes-offset
] [
zone
acronym
]
• no clock timezone
•
hours-offset —
Hours difference from UTC. (Range: -12
– +
13)
•
minutes
minutes-offset —
Minutes difference from UTC. (Range: 0
–
59)
•
zone
acronym —
The acronym of the time zone. (Range: Up to 4 characters)
Default Configuration
UTC.
Command Mode
Global Configuration mode.
User Guidelines
• The system internally keeps time in UTC, so this command is used only for display purposes and when
the time is manually set.
Console# clock source sntp
5400_CLI.book Page 124 Wednesday, December 17, 2008 4:33 PM