Huawei AR1200 series Configuration Manual page 366

Enterprise routers
Hide thumbs Also See for AR1200 series:
Table of Contents

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
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
-------------------------------------------------------------------------------
172.16.1.1
-------------------------------------------------------------------------------
Tunnel interface: Tunnel0/0/0
Created time
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
-------------------------------------------------------------------------------
172.16.1.1
-------------------------------------------------------------------------------
Tunnel interface: Tunnel0/0/0
Created time
Expire time
On the hub, check the NHRP mapping entries on Spoke1 and Spoke2.
Issue 01 (2012-04-20)
Mask
NBMA-addr
32
44.1.1.1
: 2011.08.18-15:10:26
: --
Mask
NBMA-addr
32
44.1.1.1
: 2011.08.18-15:12:53
: --
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.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
NextHop-addr
Type
172.16.1.1
static
NextHop-addr
Type
172.16.1.1
static
6 DSVPN Configuration
Flag
hub
Flag
hub
355

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar3200 series

Table of Contents