428
NOTE:
After you configure an IPv6 BGP VPN instance, the IPv6 BGP route exchange for the IPv6 VPN instance is
the same with the normal IPv6 BGP VPN route exchange. For more information about IPv6 BGP, see
Layer
3—IP Routing Configuration Guide.
2.
Configure a VPN site.
Follow these steps to configure eBGP between IPv6 MCE and VPN site:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Enter IPv6 address family view
ipv6-family
—
Configure the IPv6 MCE as the
eBGP peer
peer
ipv6-address
as-number
as-number
Required
Redistribute the IGP routes of the
VPN
import-route
protocol
[
process-id
[
med
med-value
|
route-policy
route-policy-name
] * ]
Optional
By default, no route redistribution is
configured.
A VPN site must advertise the IPv6
VPN network addresses it can
reach to the connected IPv6 MCE.
Configuring routing between IPv6 MCE and PE
IPv6 MCE-PE routing configuration includes these tasks:
•
Bind the IPv6 MCE-PE interfaces to IPv6 VPN instances
•
Perform routing configurations
•
Redistribute IPv6 VPN routes into the routing protocol running between the IPv6 MCE and the PE.
Configuring IPv6 static routing between IPv6 MCE and PE
Follow these steps to configure IPv6 static routing between IPv6 MCE and PE:
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
User either
command.
Configure the
default precedence
for IPv6 static
routes
ipv6 route-static default-preference
default-preference-value
Optional
60 by default