Creates an authentication key to associate with the NTP server, thereby enabling NTP authentication.
By default the authentication keys are not configured.
Global configuration mode
This command adds an NTP authentication key to a list of authentication keys in the database. The key is shared by the client (device) and an external NTP server.
The maximum number of configurable NTP authentication keys is five. You cannot configure a duplicate key ID with a different key string. Use the no ntp authentication-key key-id command to remove the specified authentication key.
Authentication key must be created before associating the key with any server. Refer to the ntp server command for information on how to create this association.
Before downgrading the firmware to a version that does not support the encryption-level option, the encryption-level should be set to 0.
To create an authentication key with an ID of 33, an MD5 string called check, and an encryption level of 0 :
device# configure device(config)# ntp authentication-key 33 md5 check encryption-level 0