EasyManuals Logo

Huawei AR1200 Series Configuration Guide

Huawei AR1200 Series
392 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #316 background imageLoading...
Page #316 background image
Context
An IPSec tunnel interface encapsulates the IPSec header into packets. To make a configured
IPSec profile take effect, configure an IPSec tunnel interface and apply the IPSec profile to the
IPSec tunnel interface.
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:
ip address
An IPv4 address is configured for the tunnel interface.
Step 4 Run:
tunnel-protocol { gre [ p2mp ] | ipsec | ipv4-ipv6 | none }
The encapsulation mode is set for the tunnel interface.
NOTE
A tunnel interface can be bound to an IPSec profile only when the encapsulation mode of the tunnel interface
is set to IPSec, GRE, or Multipoint GRE (MGRE).
Step 5 Run:
source { [ vpn-instance vpn-instance-name ] source-ip-address | interface-type
interface-number }
The source address is configured for the tunnel interface.
NOTE
It is recommended that you specify the interface type and number for source. If you specify an IP address
that is dynamically assigned to an interface, the IPSec configuration may fail to be restored because of
invalid source address.
Step 6 (Optional) Run:
destination dest-ip-address
The destination address is configured for the tunnel interface.
If the encapsulation mode of a tunnel interface is set to IPSec, you only need to configure the
destination address for one IKE peer. If the encapsulation mode of a tunnel interface is set to
GRE, you need to configure destination addresses for both IKE peers.
Step 7 Run:
ipsec profile profile-name
An IPSec profile is applied to the tunnel interface.
By default, no IPSec profile is applied to an interface.
----End
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN 5 IPSec Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
305

Table of Contents

Other manuals for Huawei AR1200 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Huawei AR1200 Series and is the answer not in the manual?

Huawei AR1200 Series Specifications

General IconGeneral
BrandHuawei
ModelAR1200 Series
CategoryNetwork Router
LanguageEnglish

Related product manuals