The second method distributes traffic of a single VPN to multiple tunnels. The transmission delays on
different tunnels can vary by a large amount. Therefore, the destination device or the upper layer
application might take a great time to sequence the packets. As a best practice, do not use the
second method.
Figure 47 MPLS VPN tunnel selection diagram
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.
Displaying tunnel information
Execute display commands in any view.
Task
Display tunnel information.
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 | gre |
lsp } *
load-balance-number
number
Command
display mpls tunnel { all | statistics | [ vpn-instance
vpn-instance-name ] destination { ipv4-address | ipv6-address } }
189
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—GRE—CRLSP
order.