Defining an Authentication Key

To define an authentication key for Network Time Protocol (NTP), use the authentication-key command. To remove the authentication key for NTP, use the no form of the command.

By default, authentication keys are not configured.

device(config-ntp)# authentication-key key-id 1 sha1 A3RuZcbxpG

The key string is the value of the SHA1 key. The maximum length of the key string is 16 characters. Up to 32 authentication keys can be defined.