S
YSTEM
M
ANAGEMENT
C
OMMANDS
20-54
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 servers command. It issues time synchronization requests
based on the interval set via the sntp poll command.
Example
Related Commands
sntp server (20-54)
sntp poll (20-55)
show sntp (20-56)
sntp server
This command sets the IP address of the servers to which SNTP time
requests are issued. Use the this command with no arguments to clear all
time servers from the current list.
Syntax
sntp server [ip1 [ip2 [ip3]]]
ip - IP address of an time server (NTP or SNTP).
(Range: 1 - 3 addresses)
Default Setting
None
Console(config)#sntp server 10.1.0.19
Console(config)#sntp poll 60
Console(config)#sntp client
Console(config)#end
Console#show sntp
Current time: Dec 23 02:52:44 2002
Poll interval: 60
Current mode: unicast
SNTP status : Enabled
SNTP server 137.92.140.80 0.0.0.0 0.0.0.0
Current server: 137.92.140.80
Console#