Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


OBSOLETE: authentication-key



Hierarchy Level

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.


Configure Network Time Protocol (NTP) authentication keys so that the router or switch can send authenticated packets. If you configure the router or switch to operate in authenticated mode, you must configure a key.

Both the keys and the authentication scheme (MD5, SHA1, or SHA2-256) must be identical between a set of peers sharing the same key number.


key-number—Positive integer that identifies the key.

type type—Authentication type. Choose among md5, SHA1, and SHA2-256.

value password—The key itself, which can be from 1 through 8 ASCII characters. If the key contains spaces, enclose it in quotation marks.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.