351
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 in this order: LSP tunnel, CR-LSP tunnel.
To configure a tunneling policy for a VPN instance:
Step 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
|
lsp
} *
load-balance-number
number
By default, only one tunnel is
selected (no load balancing) in this
order: LSP tunnel, CR-LSP tunnel.
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 IPv6 VPN view.
ipv6-family
Optional.
8.
Apply the tunneling 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, CR-LSP tunnel.
Configuring an LDP instance
LDP instances are for carrier's carrier network applications.
This task is to enable LDP for an existing VPN instance, create an LDP instance for the VPN instance, and
configure LDP parameters for the LDP instance.
For LDP instance configuration information, see "
Configuring routing between PE and CE
You can configure IPv6 static routing, RIPng, OSPFv3, IPv6 IS-IS, or EBGP between PE and CE.