Configuring Broadcast-Based NTP Associations To configure broadcast-based NTP associations, perform this procedure: Administering the Device Configuring Broadcast-Based NTP Associations Command or Action Purpose • prefer: Sets this peer as the preferred one that provides synchronization. This keyword reduces switching back and forth between peers. Use the no form of this command to remove a peer association. Step 4 [no] ntp server [vrf vrf-name] ip-address [version number] [key key-id] [source interface] [prefer] Example: Device(config)# ntp server 172.16.22.44 version 2 Configures the device's system clock to be synchronized by a time server (server association). • vrf-name:
The virtual routing and forwarding (VRF) address of the server providing the clock synchronization. Note Before you configure this command, the VRF must be configured. • ip-address: The IP address of the time server providing the clock synchronization. • number: NTP version number. The range is 1 to 3. By default, version 3 is selected. • key-id: Authentication key defined with the ntp authentication-key command. • interface: The interface from which to pick the IP source address. By default, the source IP address is taken from the outgoing interface. • 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. Step 5 end Example: Device(config)# end Returns to privileged EXEC mode. Administering the Device 16