![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg6b9.png)
99
VA M S ERVER CONFIGURATION
COMMANDS
authentication-algorithm
Syntax authentication-algorithm { none | { md5 | sha-1 }* }
undo authentication-algorithm
View VPN domain view
Parameter none: Specifies not to authenticate protocol packets.
md5: Specifies to adopt MD5 (message digest 5) authentication.
sha-1: Specifies to adopt SHA-1 (secure hash algorithm 1) algorithm.
Description Use the
authentication-algorithm command to set the authentication
algorithm and its corresponding priority for protocol packets.
Use the
undo authentication-algorithm command to restore the default.
By default, the authentication algorithm is SHA-1.
Note that:
■ Priorities of authentication algorithms are decided by their configuration order.
■ Based on its authentication algorithm configuration, a VAM server negotiates
with a client to determine the authentication algorithm to be used between
them.
Related command: vam server vpn, authentication-method.
Example # Set to adopt MD5 authentication algorithm in VPN domain 1.
<Sysname> system-view
[Sysname] vam server vpn 1
[Sysname-vam-server-vpn-1] authentication-algorithm md5
authentication-method
Syntax authentication-method { none | [ chap | pap ] [ domain name-string ]}
undo authentication-method