HP MSR2000/3000/4000 Router Series MPLS Command Reference

146
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.
If you configure both the select-seq load-balance-number command and the preferred-path command
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]