Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Choose one of the following methods to configure routes passing through a tunnel interface:
l
Run:
ip route-static
ip-address
{
mask
|
mask-length
}
tunnel
interface-number
[
description
text
]
A static route is configured.
NOTE
A static route must be configured on both the source and destination devices.
l
Configure dynamic routes. Dynamic routing can be implemented using OSPF, RIP, or BGP.
For the configuration of a dynamic routing protocol, see
Huawei AR1200 Series
Configuration Guide - IP Routing
.
NOTE
l
If OSPF is configured, the OSPF network type of the tunnel interface must be broadcast.
l
If RIP is configured, the split horizon function must be disabled on the tunnel interface.
----End
6.3.4 Configuring NHRP on a Branch
This section describes how to configure NHRP mapping entries on a branch device.
Context
NHRP allows a source device on a Non-Broadcast Multiple Access (NBMA) network to obtain
the public address of the next hop to the destination device. Perform the following operations
on the router of a branch.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface tunnel
interface-number
The tunnel interface view is displayed.
Step 3
Run:
tunnel-protocol
gre
p2mp
The tunnel encryption mode is set to MGRE.
Step 4
Run:
nhrp entry
protocol-address
nbma-address
[
register
]
An NHRP mapping entry is configured.
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.
348