PurposeCommand or Action
• 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 9
Device(config)# end
Configuring Poll-Based NTP Associations
To configure poll-based NTP associations, perform this procedure:
SUMMARY STEPS
1. enable
2. configure terminal
3. [no] ntp peer ip-address [version number] [key key-id] [source interface] [prefer]
4. [no] ntp server ip-address [version number] [key key-id] [source interface] [prefer]
5. end
DETAILED STEPS
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
Configures the device system clock to synchronize a peer
or to be synchronized by a peer (peer association).
[no] ntp peer ip-address [version number] [key key-id]
[source interface] [prefer]
Step 3
Example:
• ip-address: The IP address of the peer providing or
being provided, the clock synchronization.
Device(config)# ntp peer 172.16.22.44 version 2
• number: NTP version number. The range is 1 to 3. By
default, version 3 is selected.
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
19
Administering the Device
Configuring Poll-Based NTP Associations