Command Line Interface
4-68
4
Example
ntp client
This command enables NTP client requests for time synchronization from NTP time
servers specified with the ntp servers command. Use the no form to disable NTP
client requests.
Syntax
[no] ntp client
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
• The SNTP and NTP clients cannot be enabled at the same time. First disable
the SNTP client before using this command.
• The time acquired from time servers is used to record accurate dates and
times for log events. Without NTP, 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
ntp servers command. It issues time synchronization requests based on the
interval set via the ntp poll command.
Example
Related Commands
sntp client (4-65)
ntp poll (4-70)
ntp server (4-69)
Console#show sntp
Current time: Dec 23 05:13:28 2002
Poll interval: 16
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#
Console(config)#ntp client
Console(config)#