This command configures an authentication key ID, key type, and key used to authenticate NTP PDUs sent to and received from other network elements participating in the NTP protocol. For authentication to work, the authentication key ID, authentication type, and authentication key value must match.
config>system>time>ntp
authentication-key key-id {key key} [hash | hash2] type {des | message-digest}
config>system>time>ntp#
authentication-key 1 key A type des
config>system>time>ntp# no shutdown
The following example shows NTP disabled with the authentication-key parameter enabled.
A:ALU-1>config>system>time>ntp# info
----------------------------------------------
shutdown
authentication-key 1 key "OAwgNUlbzgI" hash2 type des
----------------------------------------------
A:ALU-1>config>system>time>ntp#