Specifications

Command Line Interface
3-36
3
Time Commandsl
The system clock can be dynamically set by polling a set of specified time servers
(NTP or SNTP), or by using information broadcast by local time servers. 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 client
This command enables SNTP client requests for time synchronization from NTP or
SNTP time servers specified with the sntp servers command. Use the no form to
disable SNTP client requests.
Syntax
[no] sntp client
Default Setting
None
Command Mode
Global Configuration
Command Usage
The time acquired from time servers is used to record accurate dates and
times for log events. Without SNTP, the switch only records the time starting
from the factory default set at the last bootup (i.e., 00:00:00, Jan. 1, 2001).
Field Description
Syslog logging Shows if system logging has been enabled via the logging on command.
History logging in FLASH The message level(s) reported based on the logging history command.
History logging in RAM The message level(s) reported based on the logging history command.
Messages Any system and event messages stored in memory.
Table 3-26 Time Commands
Command Function Mode Page
sntp client Accepts time from specified time servers GC 3-36
sntp server Specifies one or more time servers GC 3-37
sntp poll Sets the interval at which the client polls for time GC 3-38
sntp broadcast client Accepts time from any time broadcast server GC 3-38
show sntp Shows current SNTP configuration settings NE, PE 3-39
clock timezone Sets the time zone for the switch’s internal clock GC 3-39
calendar set Sets the system date and time PE 3-40
show calendar Displays the current date and time setting NE, PE 3-40