R0106-HP MSR Router Series MPLS Command Reference(V7)

201
load-balance-number number: Specifies the number of tunnels for load balancing, in the range of 1 to
32.
Usage guidelines
A tunnel type closer to the select-seq keyword has a higher priority, and only the tunnel types specified
in this command can be used. For example, the select-seq lsp gre load-balance-number 3 command
gives LSP higher priority over GRE. If no LSP is available or the number of LSPs is less than 3, VPN uses
GRE tunnels.
Tunnels selected by this method are not fixed, making it hard to plan VPN traffic. HP recommends not
using this method.
When you configure both the select-seq load-balance-number and preferred-path commands for a
tunnel policy, the tunnel policy selects tunnels in the following steps:
1. If the destination address of the preferred tunnel identifies a peer PE, the tunnel policy uses the
preferred tunnel to forward traffic destined for the peer PE without using any other tunnels.
2. If not, the tunnel policy selects tunnels as configured by the select-seq load-balance-number
command.
Examples
# Configure tunnel policy policy1 to use only GRE tunnels, and set the load balancing number to 2.
<Sysname> system-view
[Sysname] tunnel-policy policy1
[Sysname-tunnel-policy-policy1] select-seq gre load-balance-number 2
tunnel-policy
Use tunnel-policy to create a tunnel policy and enter tunnel policy view.
Use undo tunnel-policy to delete an existing tunnel policy.
Syntax
tunnel-policy tunnel-policy-name
undo tunnel-policy tunnel-policy-name
Default
No tunnel policy is configured on the device.
Views
System view
Predefined user roles
network-admin
Parameters
tunnel-policy-name: Specifies a name for the tunnel policy, a case-insensitive string of 1 to 19 characters.
Examples
# Create tunnel policy policy1 and enter its view.
<Sysname> system-view
[Sysname] tunnel-policy policy1
[Sysname-tunnel-policy-policy1]