ntp trusted-key
Use this command to define a “trusted” authentication key. If a key is trusted, the device will synchronize with a system that specifies this key in its NTP packets.
Use the no
option with this command to remove a trusted key.
Command Syntax
ntp trusted-key <1-65534> (VRF(NAME|management)|)
no ntp trusted-key <1-65534> (VRF(NAME|management)|)
Parameter
<1-65534>
Authentication key number
vrf management
Defines the management VRF Virtual Routing and Forwarding instance.
vrf NAME
Specify the user-defined VRF instance name.
Default
By default, ntp trusted key is disabled
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3. A Added VRF NAME parameter in OcNOS version 6.5.3.
Example
#configure terminal
(config)#ntp trusted-key 234676 vrf management