
387
Step Command
Remarks
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, GRE
tunnel, CR-LSP tunnel.
The tunneling policy to be applied
must have existed. Otherwise, the
default tunneling policy is used.
The default tunneling policy
selects only one tunnel in this
order: LSP tunnel, GRE tunnel,
CR-LSP tunnel.
NOTE:
•
A tunneling policy configured in VPN instance view is applicable to both IPv4 VPNs and IPv6
VPNs.
•
You can configure a tunneling policy for IPv6 VPNs in both VPN instance view and IPv6 VPN
view. A tunneling policy configured in IPv6 VPN view takes precedence.
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 a PE and a CE
You can configure IPv6 static routing, RIPng, OSPFv3, IPv6 IS-IS, or EBGP between a PE and a CE.
Before configuring routing between a PE and a CE, complete the following tasks:
•
Assign an IPv6 address to the CE-PE interface of the CE
•
Assign an IPv6 address to the PE-CE interface of the PE
Configuring IPv6 static routing between a PE and a CE
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure an IPv6 static
route for a VPN
instance.
•
ipv6 route-static
ipv6-address
prefix-length
{
interface-type
interface-number
[
next-hop-address
] |
next-hop-address
|
vpn-instance
d-vpn-instance-name nexthop-address
}
[
preference
preference-value
]
•
ipv6 route-static
vpn-instance
s-vpn-instance-name
&<1-6>
ipv6-address
prefix-length
{
interface-type
interface-number
[
next-hop-address
] |
nexthop-address
[
public
] |
vpn-instance
d-vpn-instance-name nexthop-address
}
[
preference
preference-value
]
Use either command as
needed.
Perform this
configuration on PEs. On
CEs, configure normal
IPv6 static routes.
For more information
about IPv6 static routing,
see
Layer 3—IP Routing
Configuration Guide
.