R3303-HP HSR6800 Routers MPLS Configuration Guide

274
IMPORTANT:
Create a tunneling policy before applying it to a VPN instance. Otherwise, the default tunneling policy is
used. The default tunneling policy selects only one tunnel (no load balancing) in this order: LSP tunnel,
CR-LSP tunnel.
To apply a tunneling policy for a VPN instance:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a tunneling policy
and enter tunneling policy
view.
tunnel-policy tunnel-policy-name
N/A
3. Configure a preferred
tunnel and specify a tunnel
interface for it.
preferred-path number interface
tunnel tunnel-number
[ disable-fallback ]
Optional.
By default, no preferred tunnel is
configured.
In a tunneling policy, you can configure
up to 64 preferred tunnels.
The tunnel interfaces specified for the
preferred tunnels can have the same
destination address and the tunnel
encapsulation type must be MPLS TE.
4. Specify the tunnel
selection preference order
and the number of tunnels
for load balancing.
tunnel select-seq { cr-lsp | gre |
lsp } * load-balance-number
number
By default, only one tunnel is selected (no
load balancing) in this order: LSP tunnel,
GRE tunnel, CR-LSP tunnel.
NOTE:
A tunnel type closer to the select-seq
keyword has a higher priority. For
example, with the tunnel select-seq
lsp gre load-balance-number 1
command configured, VPN uses a
GRE tunnel only when no LSP exists.
After an LSP is created, the VPN uses
the LSP tunnel instead.
If you specify more than one tunnel
type and the number of tunnels of a
type is less than the specified number
of tunnels for load balancing, tunnels
of different types may be used.
5. Return to system view.
quit N/A
6. Enter VPN instance view.
ip vpn-instance
vpn-instance-name
N/A
7. Enter IPv4 VPN view.
ipv4-family Optional.
8. Apply the tunnel policy to
the VPN instance.
tnl-policy tunnel-policy-name
By default, only one tunnel is selected (no
load balancing) in this order: LSP tunnel,
GRE tunnel, CR-LSP tunnel.