Step 4
Configure tunnel interfaces on the Routers and configure NHRP mapping entries of the hub on
Spoke1 and Spoke2.
# Configure a tunnel interface on the hub.
[Huawei]
system-view
[Huawei]
interface tunnel 0/0/0
[Huawei-Tunnel0/0/0]
ip address 172.16.1.1 255.255.255.0
[Huawei-Tunnel0/0/0]
tunnel-protocol gre p2mp
[Huawei-Tunnel0/0/0]
source ethernet 1/0/0
[Huawei-Tunnel0/0/0]
nhrp entry multicast dynamic
[Huawei-Tunnel0/0/0]
ospf network-type broadcast
[Huawei-Tunnel0/0/0]
ospf dr-priority 10
# Configure a tunnel interface and an NHRP mapping entry of the hub on Spoke1.
[Huawei]
system-view
[Huawei]
interface tunnel 0/0/0
[Huawei-Tunnel0/0/0]
ip address 172.16.1.101 255.255.255.0
[Huawei-Tunnel0/0/0]
tunnel-protocol gre p2mp
[Huawei-Tunnel0/0/0]
source ethernet 1/0/0
[Huawei-Tunnel0/0/0]
nhrp entry 172.16.1.1 44.1.1.1 register
[Huawei-Tunnel0/0/0]
ospf network-type broadcast
[Huawei-Tunnel0/0/0]
ospf dr-priority 8
# Configure a tunnel interface and an NHRP mapping entry of the hub on Spoke2.
[Huawei]
system-view
[Huawei]
interface tunnel 0/0/0
[Huawei-Tunnel0/0/0]
ip address 172.16.1.102 255.255.255.0
[Huawei-Tunnel0/0/0]
tunnel-protocol gre p2mp
[Huawei-Tunnel0/0/0]
source ethernet 1/0/0
[Huawei-Tunnel0/0/0]
nhrp entry 172.16.1.1 44.1.1.1 register
[Huawei-Tunnel0/0/0]
ospf network-type broadcast
[Huawei-Tunnel0/0/0]
ospf dr-priority 8
Step 5
Verify the configuration.
After the preceding configurations are complete, check the NHRP mapping entries on Spoke1
and Spoke2.
Run the
display nhrp peer all
command on Spoke1, and the command output is as follows.
[Huawei]
display nhrp peer all
-------------------------------------------------------------------------------
Protocol-addr Mask NBMA-addr NextHop-addr Type Flag
-------------------------------------------------------------------------------
172.16.1.1 32 44.1.1.1 172.16.1.1 static hub
-------------------------------------------------------------------------------
Tunnel interface: Tunnel0/0/0
Created time : 2011.08.18-15:10:26
Expire time : --
Run the
display nhrp peer all
command on Spoke2, and the command output is as follows.
[Huawei]
display nhrp peer all
-------------------------------------------------------------------------------
Protocol-addr Mask NBMA-addr NextHop-addr Type Flag
-------------------------------------------------------------------------------
172.16.1.1 32 44.1.1.1 172.16.1.1 static hub
-------------------------------------------------------------------------------
Tunnel interface: Tunnel0/0/0
Created time : 2011.08.18-15:12:53
Expire time : --
NOTE
If you run the
display nhrp peer all
command on Spoke1 and Spoke2, you can view only the NHRP
mapping entry of the hub.
On the hub, check the NHRP mapping entries on Spoke1 and Spoke2.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
6 DSVPN Configuration
Issue 01 (2012-04-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
355