ntp authentication-key

ntp authentication-key

md5

sha1

Description

This command configures a key identifier and secret key and adds them into the database. NTP authentication works with a symmetric key configured by user. The key is shared by the client (Arubacontroller) and an external NTP server.

NTP authentication works with a symmetric key configured by user. The key is shared by the client (Arubacontroller) and an external NTP server. This command adds both the key identifier and secret string into the database.

Parameter

Description

Range

Default

The key identifier is a string that is shared by the client (Arubacontroller) and an external NTP server. This value is added into the database.

1–65534

md5 | sha1

The hash algorithm type—use either md5 or sha1.

The key value is a secret string, which along with the key identifier, is used for authentication. This is added into the database.

0–255 ASCII characters

Example

The following command configures the NTP authentication key. For the MD5 hash algorithm, the key identifier is 12345 and the shared secret is 67890.

(host) [mynode] (config) #ntp authentication-key 12345 md5 67890

下面的例子展示了NTP authentication key configuration using SHA1 hash algorithm:

(host) [mynode] (config) #ntp authentication-key 41 sha1 secretkey

Command History

Release

Modification

ArubaOS8.2.1.0

Thesha1parameter was introduced.

ArubaOS8.0.0.0

Command introduced.

Command Information

Platforms

License

Command Mode

All platforms

Base operating system.

配置模式Mobility ConductororManaged Device.