Enables and configures Network Time Protocol (NTP).
NTP is disabled by default.
Config mode
Both IPv4 and IPv6 addresses are supported.
This command is available only to users with the admin role.
NTP is disabled by default. You must enable it explicitly when configuring NTP servers and peers.
The no ntp enable
command
disables the NTP feature.
The no ntp server
command
deletes the NTP server.
The no ntp peer
command
disables the NTP peer.
The following example disables NTP.
device# configure terminal
device(config)# no ntp enable
The following example deletes the NTP server from the system.
device# configure terminal device(config)# no ntp server 1.1.1.1
The following example deletes the NTP peer from the system.
device# configure terminal
device(config)# no ntp peer 1.1.1.1