application might take a great time to sequence the packets. As a best practice, do not use the
second method.
Figure 45 MPLS VPN tunnel selection diagram
PE 1
Configuration procedure
To configure a tunnel policy:
Step
1.
Enter system view.
2.
Create a tunnel policy,
and enter tunnel policy
view.
3.
Configure tunnel
selection methods.
NOTE:
• For a VPN to exclusively use a tunnel, you can specify the tunnel as the preferred tunnel in a
tunnel policy, and apply the policy only to that VPN.
• Tunnel policy is mutually exclusive with EVI or VXLAN. For more information about EVI, see EVI
Configuration Guide. For more information about VXLAN, see VXLAN Configuration Guide.
Displaying tunnel information
Execute display commands in any view.
Task
Display tunnel information.
P 1
Tunnel 1
P 2
Tunnel 2
Tunnel 3
P 3
Command
system-view
tunnel-policy tunnel-policy-name
•
(Method 1) Configure a tunnel as
a preferred tunnel:
preferred-path tunnel number
•
(Method 2) Configure the tunnel
selection order and the number of
tunnels for load balancing:
select-seq { cr-lsp | lsp } *
load-balance-number number
Command
display mpls tunnel { all | statistics | [ vpn-instance
vpn-instance-name ] destination { ipv4-address | ipv6-address } }
181
PE 2
Remarks
N/A
By default, no tunnel policies exist.
Configure one or both methods.
By default, no preferred tunnels are
configured.
By default, only one tunnel is
selected in LSP—CRLSP order.