create ntp key

create ntp key keyid [md5 | sha256] {encrypted encrypted_key_string | key_string}

Description

Enables an NTP key for an NTP session.

Syntax Description

keyid Specifies the key ID as a value from 1 to 65534.
key_string Specifies an alphanumeric key string, from 5 to 20 numbers or characters, or a combination of both.
md5 Specifies MD5 authentication type.
sha256 Specifies SHA-265 authentication type.

Default

N/A.

Usage Guidelines

N/A.

Example

The following command enables an NTP key using RSA Data Security, Inc. MD5 (Message-Digest algorithm 5) Message-Digest Algorithm encryption on the switch:

create ntp key 1 md5 oklahoma

History

This command was first available in ExtremeXOS 12.7.

Key string length was changed to 20 in ExtremeXOS 30.3.

SHA-256 option was added in ExtremeXOS 30.4.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, and ExtremeSwitching X440-G2, X465, X590, X620, X690, X870 series switches.