Field
Check Standard and Operation
ESP Protocol The authentication algorithm and encryption algorithm used by the ESP
protocol at both ends must be the same. If not, run the
esp authentication-
algorithm
[
md5
|
sha1
] command to change the authentication algorithm
or run the
esp encryption-algorithm
[
3des
|
des
|
aes-128
|
aes-192
|
aes-256
] command to change the encryption algorithm.
If the settings of IPSec protocols at both ends are the same, go to step 4.
Step 4
Check whether the settings of IPSec policies at both ends of the IPSec tunnel match.
Run the
display ipsec policy
command on both devices to check the following fields.
Field
Check Standard and Operation
Tunnel local
address
Tunnel
remote
address
The IP addresses at both ends must be correct. If not, run the
tunnel local
command to change the IP address at the local end or run the
tunnel
remote
command to change the IP address at the remote end.
Inbound/
Outbound
AH/ESP
setting
The SA parameters
SPI
,
string-key
,
authentication-hex
, and
encryption-
hex
at both ends of the IPSec tunnel must match. The inbound parameters on
the local device must be the same as the outbound parameters on the remote
device, and the outbound parameters on the local device must be the same as
the inbound parameters on the remote device. If these parameters do not
match, modify the configuration according to
Huawei AR2200-S Series
Enterprise Routers Configuration Guide - IPSec
.
If the settings of IPSec policies match, go to step 5.
Step 5
Check whether the ACLs referenced by IPSec policies at both ends of the IPSec tunnel mirror
each other.
Run the
display acl
command on the Router. If the following information is displayed, the ACLs
referenced by IPSec policies at both ends of the IPSec tunnel mirror each other.
# Display the ACL configuration on RouterA.
<Router A>
display acl 3101
Advanced ACL 3101, 1 rule
Acl's step is 5
rule 5 permit ip source 10.1.1.0 0.0.0.255 destination 10.1.2.0 0.0.0.255
# Display the ACL configuration on RouterB.
<Router B>
display acl 3101
Advanced ACL 3101, 1 rule
Acl's step is 5
rule 5 permit ip source 10.1.2.0 0.0.0.255 destination 10.1.1.0 0.0.0.255
l
If the ACLs referenced by IPSec policies at both ends of the IPSec tunnel do not mirror
each other, modify the configuration according to
Huawei AR2200-S Series Enterprise
Routers Configuration Guide - IPSec
.
Huawei AR2200-S Series Enterprise Routers
Troubleshooting
12 VPN
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
350