Step 2
Run:
tunnel-policy
policy-name
A tunnel policy is created and the tunnel policy view is displayed.
A tunnel policy indicates only one tunnel selection mode. If more tunnel selection modes are
required, you need to create multiple tunnel policies.
A VPN instance can only use one tunnel policy;multiple VPN instances can use the same VPN
tunnel policy.
Step 3
Run:
tunnel select-seq
{
cr-lsp
|
gre
|
lsp
}*
load-balance-number
load-balance-number
The priority of the tunnels and the number of tunnels for load balancing are configured.
If no tunnel policy is configured for the L3VPN, an LSP is used as the VPN tunnel, and the
number of tunnels for load balancing is 1.
----End
1.4.3 Applying the Tunnel Policy to L3VPN
After a tunnel policy is configured, you also need to apply the tunnel policy to the VPN instance.
Context
For L3VPN, the tunnel policy is applied to the VPN instance. Do as follows on a PE configured
with a VPN instance.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ip vpn-instance
vpn-instance-name
The VPN instance view is displayed.
Step 3
Run:
tnl-policy
policy-name
A tunnel policy is applied to the VPN instance.
----End
1.4.4 Checking the Configuration
If a select-sequence tunnel policy is configured for an L3VPN, you can view configurations of
the tunnel policy, and information about the tunnels and tunnel policy that is applied to the routes
of the VPN instance.
Prerequisite
The configurations of the tunnel policies (Select-sequence Mode) applied to L3VPN function
are complete.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
1 VPN Tunnel Management Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
11