Clock Commands
78-21075-01 Command Line Interface Reference Guide
Syntax
clock source [sntp | browser]
no clock source
Parameters
•
sntp—Specifies that an SNTP server is the external clock source.
•
browser—Specifies that if the system clock is not already set (either
manually or by SNTP) and a user logs on to the device using a WEB browser
(either via HTTP or HTTPS), the system clock will be set according to the
browser's time information.
Default Configuration
There is no external clock source.
Command Mode
Global Configuration mode
Example
The following example configures an SNTP server as an external time source for
the system clock.
switchxxxxxx(config)#
7.3
clock timezone
Use the clock timezone Global Configuration command to set the time zone for
display purposes. Use the no form of this command to set the time to Coordinated
Universal Time (UTC) or Greenwich Mean Time (GMT), which is the same.
Syntax
zone hours-offset [minutes-offset]
clock timezone
no clock timezone
clock source sntp
7
135