C
HAPTER
20
| System Management Commands
Time
– 565 –
SMTP Status: Enabled
Console#
TIME
The system clock can be dynamically set by polling a set of specified time
servers (NTP or SNTP). Maintaining an accurate time on the switch enables
the system log to record meaningful dates and times for event entries. If
the clock is not set, the switch will only record the time from the factory
default set at the last bootup.
SNTP Commands
sntp client This command enables SNTP client requests for time synchronization from
NTP or SNTP time servers specified with the sntp server command. Use the
no form to disable SNTP client requests.
SYNTAX
[no] sntp client
DEFAULT SETTING
Disabled
COMMAND MODE
Global Configuration
Table 54: Time Commands
Command Function Mode
SNTP Commands
sntp client Accepts time from specified time servers GC
sntp poll Sets the interval at which the client polls for time GC
sntp server Specifies one or more time servers GC
show sntp Shows current SNTP configuration settings NE, PE
Manual Configuration Commands
clock summer-time
Configures summer time
*
for the switch’s internal
clock
*Daylight savings time.
GC
clock timezone Sets the time zone for the switch’s internal clock GC
clock timezone-
predefined
Sets the time zone for the switch’s internal clock using
predefined time zone configurations
GC
calendar set Sets the system date and time PE
show calendar Displays the current date and time setting NE, PE