authentication (Protocols OSPF)
Syntax
authentication { md5 key-identifier { key key-value; start-time YYYY-MM-DD.hh:mm; } simple-password key; multi-active-md5 key-identifier { key key-value delete-if-not-inuse; } keychain keychain;}
Hierarchy Level
[edit logical-systems logical-system-name protocols ospf area area-id interface interface-name], [edit logical-systems logical-system-name protocols ospf area area-id virtual-link], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols ospf area area-id interface interface-name], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols ospf area area-id virtual-link], [edit protocols ospf area area-id interface interface-name], [edit protocols ospf area area-id virtual-link], [edit routing-instances routing-instance-name protocols ospf area area-id interface interface-name], [edit routing-instances routing-instance-name protocols ospf area area-id virtual-link]
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.
|
multi-active-md5 |
Configure authentication type MD5 with multi active keys
|
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.
The option keychain keychain introduced in Junos OS and
Junos OS Evolved Release 23.4R1.