Before configuring a tunnel policy, complete the following tasks:
Create LSP or MPLS TE tunnels to transmit VPN services. For details about how to create an LSP tunnel and a TE tunnel, see MPLS LDP Configuration and MPLS TE Configuration in the S2720, S5700, and S6700 V200R019C10 Configuration Guide - MPLS.
Establish the basic VPN network. For details about BGP/MPLS IP VPN configuration, see Configuring Basic BGP/MPLS IP VPN Functions.
VPN data is transmitted over tunnels. By default, LSP tunnels are used to transmit data, and each service is transmitted by only one LSP tunnel.
If the default tunnel configuration cannot meet VPN service requirements, apply tunnel policies to VPNs. You can configure either of the following types of tunnel policies according to service requirements:
Use either of the following methods to configure a tunnel policy.
Configure a tunnel type prioritization policy.
By default, no tunnel policy is configured. LSP tunnels are used to transmit VPN data and each VPN service is transmitted over one LSP tunnel.
Configure a tunnel binding policy.
After configuring a tunnel policy and applying it to a VPN instance, you can check information about the tunnel policy applied to the VPN instance and tunnels in the system.