Huawei v200r001 User Manual

Page of 258
User Manual - Configuration Guide  (Volume 3)
Versatile Routing Platform
Chapter 5
Configuration of IKE
5-7
z  Configure an IKE policy on Gateway A, with Policy 10 is of highest priority and the
default IKE policy is of the lowest priority.
z  Pre-shared key authentication algorithm is adopted.
II. Networking diagram
Host B
Host A
Security Gateway B
Internet
Security Gateway A
Serial 0
202.38.160.1
Serial 0
171.69.224.33
Figure SC-5-2  Networking diagram of IKE configuration example
III. Configuration procedure
Configuration on Security Gateway A.
! Configure a IKE Policy 10
Quidway (config)# crypto ike policy 10
! Specify the hashing algorithm used by IKE policy as MD5
Quidway (config-crypto-ike-policy-10)# hash md5
! Use pre-shared key authentication method
Quidway (config-crypto-ike-policy-10)# authentication pre-share
! Configure “abcde” for peer 171.69.224.33
Quidway (config)# crypto ike key abcde address 171.69.224.33
! Configure IKE SA lifetime to 5000 seconds
Quidway (config-crypto-ike-policy-10)# lifetime 5000
Configuration on Security Gateway B.
! Use default IKE policy on Gateway B and configure the peer authentication word.
Quidway (config)# crypto ike key abcde address 202.38.160.1
The above are IKE negotiation configurations. To establish IPSec security channel for
secure communication, it is necessary to configure IPSec correspondingly. For detailed
contents, please refer to the configuration samples in the chapter IPSec Configuration.
5.5  IKE Fault Diagnosis and Troubleshooting
When configuring parameters to establish IPSec security channel, you can use the
debug ike error command  to enable the Error debugging of IKE to help us find
configuration problems. The command is as follows: