set sntp authentication trust

Use this command to change the trust state of an existing SNTP authentication key.

Syntax

set sntp authentication trust key-instance {enable | disable}

Parameters

key-instance Specifies the SNTP authentication key instance to modify the trust status for.
enable | disable Enables or disables the trust status for the specified SNTP authentication key instance. The SNTP authentication trust status is disabled by default.

Defaults

None.

Mode

All command modes.

Usage

This command modifies the trust state of an existing SNTP authentication key. The key instance is used to reference the instance of the authentication key as configured in set sntp authentication key. If the key instance is a valid key, the trust state is modified as specified in the command. The authentication key trust flag must be enabled for SNTP authentication to occur between the SNTP client and server configured for that key instance.

Example

This example shows how to enable trust status for key instance 1 and disable the trust status for key instance 3:

System(rw)->set sntp authentication trust 1 enable
System(rw)->set sntp authentication trust 3 disable