Chapter 4
| System Management Commands
Time
– 133 –
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).
â—† This command enables client time requests to time servers specified via the
sntp server command. It issues time synchronization requests based on the
interval set via the sntp poll command.
Example
Console(config)#sntp server 192.168.0.88
Console(config)#sntp poll 60
Console(config)#sntp client
Console(config)#end
Console#show sntp
Current Time : Mar 19 08:41:00 2013
Poll Interval : 60 seconds
Current Mode : Unicast
SNTP Status : Enabled
SNTP Server : 192.168.0.88
Current Server : 192.168.0.88
Console#
Related Commands
sntp server (134)
sntp poll (133)
show sntp (134)
sntp poll This command sets the interval between sending time requests when the switch is
set to SNTP client mode. Use the no form to restore to the default.
Syntax
sntp poll seconds
no sntp poll
seconds - Interval between time requests. (Range: 16-16384 seconds)
Default Setting
16 seconds
Command Mode
Global Configuration
Example
Console(config)#sntp poll 60
Console#