Clock Set - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

9
229
The no form of the command clears the dynamic Time Zone and Summer Time
from the DHCP server are cleared.
In case of multiple DHCP-enabled interfaces, the following precedence is applied:
- information received from DHCPv6 precedes information received from
DHCPv4
- information received from DHCP client running on lower interface precedes
information received from DHCP client running on higher interfac
Disabling the DHCP client from where the DHCP-TimeZone option was taken,
clears the dynamic Time Zone and Summer Time configuration.
Example
switchxxxxxx(config)#
9.3

clock set

To set the system clock manually, use the clock set command in Privileged EXEC
mode.
Syntax
hh
mm
ss
clock set
:
:
{[
Parameters
—Specifies the current time in hours (military format), minutes, and
hh:mm:ss
seconds. (Range: hh: 0-23, mm: 0-59, ss: 0-59)
—Specifies the current day of the month. (Range: 1-31)
day
month
—Specifies the current month using the first three letters of the
month name. (Range: Jan–Dec)
year
—Specifies the current year. (Range: 2000–2037)
Default Configuration
The time of the image creation.
Command Mode
Privileged EXEC mode
clock dhcp timezone
day month
month day
] | [
year
]}
OL-32830-01 Command Line Interface Reference Guide
Clock Commands

Advertisement

Table of Contents
loading

Table of Contents