Adds the same key ID/hash value pair that already exists on an NTP server to the appliance. After a key ID/value pair is added, the key ID must mapped to that NTP server using the command ntp server <server> authentication .
Syntax
There are two ways to configure the key ID and hash value you obtained from the NTP server.
Prompt Method
The prompt method is recommended, because it accepts all special characters and masks the hash value as you enter it. With this method, press Enter after <type> and then enter <value> at the prompt.
hostname (config) # ntp authentication key <number> hash <type> Key: <value>
Single-Line Method
With this method, enter all parameters on the same line.
hostname (config) # ntp authentication key <number> hash <type> <value>
Parameters
number
The key ID, which is an integer from 1-16.
type
The type of authentication key: md5 or sha1.
value
The key's hash value.
Example
The following example uses the prompt method to add a key ID/value pair to an appliance.
hostname (config) # ntp authentication key 6 hash md5 Key: ******************************** hostname (config) # show ntp authentication configured NTP enabled: yes NTP Authentication enabled: yes NTP Key Number 6 Type: md5 Key: ********
Command mode
Config
Supported appliances
This command was released as follows:
Email Security — Server: Release 7.8.0
Network Security: Release 7.9
Central Management System: Release 7.9
Intelligent Virtual Execution - Server: Release 7.9