[no] ntp

This command disables NTP and removes all NTP configurations on the device.

Syntax

[no] ntp [authentication <key-id>
 | broadcast | enable | max-association 
<integer> | server 
<IP-ADDR> | trap 
<trap-name> | unicast]
      

Description

Disable NTP and removes the entire NTP configuration.

Options

authentication

Configure NTP authentication.

broadcast

Operate in broadcast mode.

enable

Enable/disable NTP.

max-association

Maximum number of Network Time Protocol (NTP) associations.

server

Configure a NTP server to poll for time synchronization.

trap

Enable/disable NTP traps.

unicast

Operate in unicast mode.

Example

switch(config)# no ntp
This will delete all NTP configurations on this device. Continue [y/n]?