Configuration Mode Commands : System Administration Commands : Host Setup Commands : ntp authentication
  
ntp authentication
Configures the Network Time Protocol (NTP) authentication settings to authenticate NTP servers and peers.
Syntax
[no] ntp authentication key <key-id> <type> secret <string>
Parameters
key <key-id>
Specifies the key identifier. The key ID values must be in the range from 1 to 65534.
<type>
Authentication algorithm type for the key ID:
•  MD5 - Specifies the message digest algorithm.
•  SHA1 - Specifies the secure hash algorithm.
secret <string>
Specifies the shared secret parameter. Choose one of the following:
•  <plaintext> - Shared secret in plain text. This option is the same as the 0 <plaintext> option and is provided for backward compatibility.
•  0 <plaintext> - Specifies the shared secret in plain text.
•  7 <encrypted-string> - Specifies the shared secret with an encrypted string.
Usage
The no command option removes NTP authentication settings.
NTP authentication involves three steps that you can perform in any order:
•  Configure a key ID using the ntp authentication command.
•  Add the configured key ID to the trusted keys list using the ntp authentication trusted-keys command.
•  Configure the NTP server or peer with the key ID using the ntp server key or ntp peer key command.
NTP using either SHA authentication keys or no authentication keys is FIPS compliant. NTP using MD5 keys is not FIPS compliant. See the FIPS Administrator’s Guide for more information.
Example
amnesiac (config) # ntp authentication key 56732 sha1 secret zza419
Product
SCC, Interceptor, Mobile Controller, SteelHead CX, SteelHead EX, SteelHead-v, SteelHead-c
Related Commands
ntp authentication trustedkeys, ntp peer key, ntp server key, show ntp, show ntp authentication