ntp enable

Syntax

ntp enable

no ntp enable

Description

Enables the NTP client on the switch to automatically adjust the local time and date on the switch. The NTP client is disabled by default.

The no form of this command disables the NTP client.

Command context

config

Authority

Administrators

Examples

Enabling the NTP client.

switch(config)# ntp enable

Disabling the NTP client.

switch(config)# no ntp enable