For configuration of LSPs and MPLS TE tunnels, refer to the Quidway S7700 Smart
Routing Switch
Configuration Guide - MPLS.
Data Preparation
To configure the tunnel policy, you need the following data.
No.
Data
1
Name of the tunnel policy
2
Priority sequence of the tunnels
3
Number of tunnels for load balancing
4
Name of the IPv6 VPN instance to which the tunnel policy is applied
4.6.2 Configuring a Tunnel Policy
A tunnel policy can determine the tunnel-selecting sequence and number of load-balanced
tunnels.
Context
Do as follows on PE devices configured with IPv6 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.
For the tunnel policy in select-sequence mode, a tunnel policy corresponds to only one mode
for selecting tunnels. If multiple modes for selecting tunnels are required, you need to create
multiple tunnel policies.
An IPv6 VPN instance instance can have only one tunnel policy. Multiple IPv6 VPN instance
can share a tunnel policy.
Step 3
Run
tunnel select-seq
{
gre
|
lsp
|
cr-lsp
} *
load-balance-number
load-balance-number
The precedence of the tunnels and the number of tunnels carrying out load balancing are
configured.
In IPv6 VPN, if no tunnel policy is configured, LSPs are selected as VPN tunnels and no load
balancing is performed.
In a tunnel policy, tunnels are selected in sequential order. If the preceding tunnel is Up, it will
be selected irrespective of whether or not other services have selected it. The subsequent tunnel
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
4 BGP MPLS IPv6 VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
349