424
NOTE:
•
Route related attributes configured in VPN instance view are applicable to both IPv4 VPNs and IPv6
VPNs.
•
You can configure route related attributes for IPv6 VPNs in both VPN instance view and IPv6 VPN view.
Those configured in IPv6 VPN view take precedence.
•
A single vpn-target command can configure up to eight VPN targets. You can configure up to 64 VPN
targets for a VPN instance.
•
You can define the maximum number of routes for a VPN instance to support, preventing too many
routes from being redistributed into the PE. The maximum number of routes supported by a PE varies by
device.
•
Create a routing policy before associating it with a VPN instance. Otherwise, the device cannot filter the
routes to be received and advertised.
Configuring routing on an IPv6 MCE
An IPv6 MCE implements service isolation through route isolation. IPv6 MCE routing configuration
includes:
•
IPv6 MCE-VPN site routing configuration
•
IPv6 MCE-PE routing configuration
On the PE in an IPv6 MCE network environment, disable routing loop detection to avoid route loss during
route calculation and disable route redistribution between routing protocols to save system resources.
Configuring routing between IPv6 MCE and VPN site
Configuring static routing between IPv6 MCE and VPN site
An IPv6 MCE can reach a VPN site through an IPv6 static route. IPv6 static routing on a traditional CE
is globally effective and thus does not support address overlapping among VPNs. An IPv6 MCE supports
binding an IPv6 static route with an IPv6 VPN instance, so that the IPv6 static routes of different IPv6 VPN
instances can be isolated from each other.
Follow these steps to configure IPv6 static routing between IPv6 MCE and VPN site:
To do…
Use the command…
Remarks
Enter system view
system-view
—
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
]
Configure IPv6 static routes for an
IPv6 VPN instance
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
]
Required
Use either command.
Perform this
configuration on the
IPv6 MCE. On a VPN
site, configure normal
IPv6 static routes.