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. This authentication type is not allowed when FIPS mode is on.
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 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.

The md5 option is not allowed when FIPS mode is on in ExtremeXOS 30.6.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.