Pre-configuration Tasks
Before configuring a tunnel policy, complete the following tasks:
l Connecting interfaces and setting the physical parameters of each interface to make the
physical layer in Up state
l Setting the parameters of the link layer protocol and the IP address of the interface to enable
the link layer protocol.
l Creating the tunnel (LSP or MPLS TE tunnel) for the VPN instance
l Configuring the VPN instance on the PE (refer to BGP/MPLS IP VPN Configuration in
this manual)
Data Preparation
To configure a tunnel policy for L3VPNs, you need the following data.
No. Data
1 Name of the tunnel policy
2 Priority sequence of tunnels
3 Number of tunnels carrying out load balancing
4 Name of the VPN instance where the tunnel policy is applied
1.4.2 Configuring the Tunnel Policy
Context
Do as follows on the PEs configured with the VPN instance.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
tunnel-policy policy-name
A tunnel policy is created and the tunnel policy view is displayed.
A tunnel policy corresponds to only one tunnel selection mode. If multiple tunnel selection
modes are required, you need to create multiple tunnel policies.
A tunnel policy can be applied to only one VPN instance. Multiple VPN instances, however,
can share one tunnel policy.
Step 3 Run:
tunnel select-seq { gre | lsp | cr-lsp }
*
load-balance-number load-balance-number
The select-sequence mode and number of tunnels carrying out load balancing are set.
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN 1 VPN Tunnel Management
Issue 03 (2009-08-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1-9