To configure an authentication algorithm, include
the authentication statement and specify an authentication
algorithm and a key at the [edit services ipsec-vpn rule rule-name term term-name then manual
direction direction] hierarchy level:
hmac-md5-96—Hash algorithm that authenticates
packet data. It produces a 128-bit authenticator value and a 96-bit
digest.
hmac-sha1-96—Hash algorithm that authenticates
packet data. It produces a 160-bit authenticator value and a 96-bit
digest.
The key can be one of the following:
ascii-text—ASCII text key. With the hmac-md5-96 option, the key contains 16 ASCII characters. With
the hmac-sha1-96 option, the key contains 20 ASCII characters.
hexadecimal—Hexadecimal key. With the hmac-md5-96 option, the key contains 32 hexadecimal characters.
With the hmac-sha1-96 option, the key contains 40 hexadecimal
characters.