authentication (IPsec SA for OSPF)

Syntax

authentication {algorithm (hmac-md5-96 | hmac-sha1-96); key {ascii-text key;hexadecimal key;}}

Hierarchy Level

[edit security ipsec security-association sa-name manual direction bidirectional]

Release Information

Statement introduced in Junos OS Release 12.1X46-D20.

Description

Configure authentication parameters for a manual IPsec security association (SA) to be applied to an OSPF or OSPFv3 interface or virtual link.

Options

algorithm

Hash algorithm that authenticates packet data. It can be one of the following:

  • hmac-md5-96—Produce a 128-bit digest. This is the default.
  • hmac-sha1-96—Produce a 160-bit digest.
key

Type of authentication key. It can be one of the following:

  • ascii-text key—ASCII text key. For hmac-md5-96, the key is 16 ASCII characters; for hmac-sha1-96, the key is 20 ASCII characters.
  • hexadecimal key—Hexadecimal key. For hmac-md5-96, the key is 32 hexadecimal characters; for hmac-sha1-96, the key is 40 hexadecimal characters.

Required Privilege Level

view-level—To view this statement in the configuration.

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

Related Documentation