set sntp authentication key

Use this command to create a new or modify an existing authentication key.

Syntax

set sntp authentication key key-instance type password

Parameters

key-instance Specifies an SNTP authentication key instance. Up to 32 SNTP authentication key instances are supported.
type Specifies an SNTP authentication type. Currently only MD5 authentication is supported. Valid value is md5.
password Specifies an SNTP authentication key password value as either a string or the encrypted key in hexadecimal format. The maximum number of characters for the plain text string is 32. No space characters are allowed. The length of the encrypted hexidecimal value is dependent upon the initial plain text value.

Defaults

None.

Mode

All command modes.

Usage

This command creates a new or modifies an existing SNTP authentication key. The ID number is used to reference the instance of the key. The type ID specifies the encryption algorithm to use for authentication. MD5 is the supported encryption algorithm. The value is either a string of ASCII characters which are used to generate the encrypted key for the encryption algorithm or the encrypted key itself in its raw hexadecimal format. The value string may not contain whitespaces. By default the new key is trusted.

Example

This example shows how to create SNTP authentication key instances 1 - 3:

System(rw)->set sntp authentication key 1 md5 foobaraboof
System(rw)->set sntp authentication key 2 md5 DEADBEAFCAFEBABEDEADBEAFCAFEBAE
System(rw)->set sntp authentication key 3 md5 0123456789012345678901234567890