S
YSTEM
M
ANAGEMENT
C
OMMANDS
4-71
Example
Related Commands
sntp server (4-71)
sntp poll (4-72)
show sntp (4-73)
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
Command Mode
Global Configuration
Command Usage
This command specifies time servers from which the switch will poll for
time updates when set to SNTP client mode. The client will poll the time
servers in the order specified until a response is received. It issues time
synchronization requests based on the interval set via the sntp poll
command.
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#