The Cisco IOS ntp trusted-key command authorizes a previously created NTP authentication key for use. Creating an authentication key alone is insufficient; an untrusted key cannot authenticate NTP messages. section 2.3.3
Configure trusted-key authentication consistently on both NTP devices:
- Create the same key number and password with ntp authentication-key key-number md5 key. section 2.3.3
- Mark that key as usable with ntp trusted-key key-number. section 2.3.3
- On a client, reference it with ntp server ip-address key key-number; configure the equivalent ntp peer command on both peers. section 2.4
