24-Port Gigabit Layer 2 Switch w/ 4 Shared Mini-GBIC Slots
SNTP Command List
clock set
Command
Syntax Description
Command Modes
User Guidelines
Example
Command History
set sntp
Command
21-1
clock set
set sntp
set sntp dst
sntp dst
sntp poll-interval
sntp primary-ip
sntp secondary-ip
sntp timezone
show clock
show sntp
To set the system time.
clock set <hh:mm:ss day month year>
hh:mm:ss day month year
Privileged EXEC Mode
The format of day, month and year are:
- Day: 1~31
- Month: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec
- Year: yyyy
switch# clock set 08:00:00 1 Jan 2010
Version
History
1.00.001
This command was introduced
To enable/disable the Simple Network Time Protocol (SNTP) function,
synchronizing the system time to the SNTP server..
set sntp {enable | disable}
Chapter 21
SNTP Command
Specify the system time.