Management and Configuration Guide K/KA/KB.15.15

Syntax
sntp authentication key-id <key-id> authentication-mode md5
key-value <key-string> trusted [encrypted-key <key-string>]
Configures a key-id, authentication-mode (MD5 only), and key-value, which are
required for authentication.
key-id
A numeric key identifier in the range of 1-4,294,967,295 (2
32
) that identifies the
unique key value. It is sent in the SNTP packet.
key-value <key-string>
The secret key that is used to generate the message digest. Up to 32 characters
are allowed for key-string.
Syntax
no sntp authentication key-id <key-id>
The no version of the command deletes the authentication key.
Default: No default keys are configured on the switch.
Syntax
no sntp authentication key-id key-id
Configures a key-id, authentication-mode (MD5 only), and key-value, which are
required for authentication.
The no version of the command deletes the authentication key.
Default: No default keys are configured on the switch.
A numeric key identifier in the range of 1-4,294,967,295 (2
32
) that identifies the
unique key value. It is sent in the SNTP packet.
The secret key that is used to generate the message digest. Up to 32 characters
are allowed for key-string.
NOTE: For the 5400zl, 3800, and 8200zl switches, when the switch is in
enhanced secure mode, commands that take a secret key as a parameter have the
echo of the secret typing replaced with asterisks. The input for <key-string> is
prompted for interactively.
encrypted-key <key-string>
Set the SNTP authentication key value using a base64–encoded aes-256 encrypted
string.
Example 21 Setting parameters for SNTP authentication
(HP_Switch_name#) sntp authentication key-id 55 authentication-mode md5 key-value secretkey1
Configuring a key-id as trusted
Trusted keys are used in SNTP authentication.
If the packet contains key-id value information that is not configured on the SNTP client switch,
or if the received packet contains no authentication information, it is discarded. The SNTP
client switch expects packets to be authenticated if SNTP authentication is enabled.
When authentication succeeds, the time in the packet is used to update the time on the switch.
50 Time Protocols