No. Data
1 Name of the tunnel policy
2 Priority of tunnels
3 Number of tunnels participating in load balancing
4 Type and serial number of the VC interface on which the
tunnel policy needs to be applied
1.5.2 Configuring a Tunnel Policy
By using the select-sequence tunnel policy, you can specify the sequence in which the tunnel
types are used and the number of tunnels carrying out load balancing.
Context
Do as follows on a PE configured with VC.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
tunnel-policy policy-name
The 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 create multiple tunnel policies.
A VC can apply only one tunnel policy. Multiple VCs can share the same tunnel policy.
Step 3 Run:
tunnel select-seq { cr-lsp | gre | lsp }
*
load-balance-number load-balance-number
The priority of tunnels and number of tunnels participating in load balancing are configured.
NOTE
The VPLS network and VLL network do not support GRE tunnels. Therefore, do not configure gre when
configuring a tunnel policy on the VPLS network or VLL network.
----End
Follow-up Procedure
For L2VPN, if no tunnel policy is configured, LSP is selected as the VPN tunnel, and no load
balancing is carried out.
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 another service has selected it. The subsequent tunnel
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.
14