Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

authentication

Syntax

Hierarchy Level

Description

Configure an authentication key (password). Neighboring routers use the password to verify the authenticity of packets sent from this interface.

All routers that are connected to the same IP subnet must use the same authentication scheme and password.

The remaining statements are explained separately. See CLI Explorer.

Options

simple-password key

Configures a simple authentication password string, defined by key.

md5

Configure an MD5 password.

  • key-identifier—MD5 key identifier. Range is from 0 through 255. Default is 0.

  • key key-values—One or more MD5 key strings. The MD5 key values can be from 1 through 16 characters long. You can specify more than one key value within the list. Characters can include ASCII strings. If you include spaces, enclose all characters in quotation marks (“ ”).

  • start-time time—MD5 start date and time, in the format YYYY-MM-DD.hh:mm.

multi-active-md5

Configure authentication type MD5 with multi active keys

  • key-identifier—multi active MD5 key identifier. Range is from 0 through 255. Default is 0.

  • key key-valuesOne or more MD5 key strings. The MD5 key values can be from 1 through 16 characters long. You can specify more than one key value within the list. Characters can include ASCII strings. If you include spaces, enclose all characters in quotation marks (“ ”).

  • delete-if-not-inuse—Delete this key if not in use. This option added under multi-active-md5 for an OSPF interface marks the key as old. If a new key is available on an OSPFv2 interface and once all the neighbors on the OSPFv2 interface use the new key, then OSPFv2 stops sending OSPFv2 packets with key that is marked as delete-if-not-inuse.
keychain keychain

For each keychain, you must specify a name. For example, ospf_auth. You can have multiple keychains on a routing device. For example, you can have a keychain for OSPF, a keychain for BGP, and a keychain for LDP.

Required Privilege Level

routing—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.