I have tested this configuration in Live Environment between Huawei and Cisco :
Huawei Router Configuration#
interface GigabitEthernet0/0/8
description WAN_1
ip address 172.16.12.2 255.255.255.252
interface GigabitEthernet0/0/9
description P2P-FW
ip address 172.19.10.1 255.255.255.252
!
interface Tunnel0/0/0
description Tunnel-Wan1
ip address 192.168.3.2 255.255.255.252
tunnel-protocol gre
source GigabitEthernet0/0/8
destination 172.16.12.1
ipsec profile profile1
!
ospf 1 router-id 192.168.3.2
import-route static
area 0.0.0.0
network 172.19.10.0 0.0.0.3
network 192.168.3.0 0.0.0.3
Phase 1
========
ike proposal 5
encryption-algorithm 3des
dh group2
authentication-algorithm md5
authentication-method pre-share
ike peer spub
pre-shared-key simple xyz@123
ike-proposal 5
remote-address 172.16.12.1
Phase 2
========
ipsec proposal tran1
esp authentication-algorithm md5
esp encryption-algorithm 3des
ipsec profile profile1
ike-peer spub
proposal tran1
==========================
Cisco Configuration#
crypto isakmp policy 5
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key xyz@123 address 172.16.12.2
!
!
crypto ipsec transform-set xxx@123 esp-3des esp-md5-hmac
mode tunnel
!
crypto ipsec profile xyz@123
set transform-set xxx@123
!
!
interface Loopback10
ip address 172.21.100.1 255.255.255.0
!
interface Tunnel0
description ##Tunnel-1 ###
ip address 192.168.3.1 255.255.255.252
tunnel source GigabitEthernet0/0/0
tunnel destination 172.18.12.2
tunnel protection ipsec profile xyz@123
!
interface GigabitEthernet0/0/0
description WAN_1
ip address 172.16.12.1 255.255.255.252
negotiation auto
!
router ospf 1
router-id 192.168.3.1
network 172.21.100.0 0.0.0.255 area 0
network 192.168.3.0 0.0.0.3 area 0
!
Enjoy! @_@