ntp authentication-key

Use this command to set an NTP Message Digest Algorithm 5 (MD5) authentication key.

Use the no form of this command to delete an authentication key.

Command Syntax

Copy
ntp authentication-key <1-65534> md5 WORD ((NAME|management)|)
ntp authentication-key <1-65534> md5 WORD 7 ((NAME|management)|)
no ntp authentication-key <1-65534> md5 WORD ((NAME|management)|)

Parameters

<1-65534>

Authentication key number

vrf management

Defines the management VRF instance.

vrf NAME

Specify the user-defined VRF instance name.

Default

None

Command Mode

Configure mode

Applicability

This command was introduced before OcNOS version 1.3. Added VRF NAME parameter in OcNOS version 6.5.3.

Example

Copy
#configure terminal
(config)#ntp authentication-key 535 md5 J@u-b;l2 vrf management