configure ntp key trusted/not-trusted

configure ntp key keyid [trusted | not-trusted]

Description

Specifies whether an NTP key is trusted or not trusted.

Syntax Description

keyid Specifies the key ID as a value from 1 to 65534.
trusted Specifies that the key is in trusted status. To use a specific key for an NTP session, set the key to trusted status.
not-trusted Specifies that the key is in not trusted status.

Default

An NTP key is not trusted by default.

Usage Guidelines

After an NTP key is created, the generated key is not-trusted by default. To use a specific key for an NTP session, the key must be trusted. The trusted option changes the key to trusted status. The not-trusted option changes the key to untrusted status.

Example

The following command changes NTP key 1 to trusted status:

configure ntp key 1 trusted

History

This command was first available in ExtremeXOS 12.7.

Platform Availability

This command is available on all platforms.