PurposeCommand or Action
Use the no form of this command to remove
authentication key.
Defines trusted authentication keys that a peer
NTP device must provide in its NTP packets
for this device to synchronize to it.
[no] ntp trusted-key key-number
Example:
Device(config)# ntp trusted-key 42
Step 5
Use the no form of this command to disable
trusted authentication.
Allows the software clock to be synchronized
by an NTP time server.
[no] ntp server ip-address key key-id [prefer]
Example:
Step 6
• ip-address: The IP address of the time
server providing the clock synchronization.
Device(config)# ntp server 172.16.22.44
key 42
• key-id: Authentication key defined with
the ntp authentication-key command.
• prefer: Sets this peer as the preferred one
that provides synchronization. This
keyword reduces clock hop among peers.
Use the no form of this command to remove a
server association.
Returns to privileged EXEC mode.end
Example:
Step 7
Device(config)# end
Configuring Poll-Based NTP Associations
To configure poll-based NTP associations, perform this procedure:
Procedure
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
Enter your password if prompted.
Device> enable
Enters global configuration mode.configure terminal
Example:
Step 2
Device# configure terminal
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
16
Administering the Device
Configuring Poll-Based NTP Associations