![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg847.png)
140
IPSEC CONFIGURATION COMMANDS
ah authentication-algorithm
Syntax ah authentication-algorithm { md5 | sha1 }
undo ah authentication-algorithm
View IPSec proposal view
Parameter md5: Uses MD5.
sha1: Uses SHA1.
Description Use the
ah authentication-algorithm command to specify the authentication
algorithm for the authentication header (AH) protocol.
Use the
undo ah authentication-algorithm command to restore the default.
By default, MD5 is used.
Note that you need to use the transform command to specify the security
protocol as AH or both AH and ESP before specifying the authentication algorithm
for AH.
Related command: ipsec proposal and transform.
Example # Configure IPSec proposal prop1 to use AH and SHA1.
<Sysname> system-view
[Sysname] ipsec proposal prop1
[Sysname-ipsec-proposal-prop1] transform ah
[Sysname-ipsec-proposal-prop1] ah authentication-algorithm sha1
cryptoswitch fabric enable
Syntax cryptoswitch fabric enable
undo cryptoswitch fabric enable
View System view