ntp

Syntax

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

Description

This command selects the operating mode of the NTP client. Defaults to broadcast. The no form of the command disables NTP and removes the entire NTP configuration.

Parameters

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]?