
32
NOTE:
After you configure an IPv6 BGP VPN instance, the IPv6 BGP route exchange for the IPv6 VPN
instance is the same as the normal IPv6 BGP VPN route exchange. For more information about IPv6
BGP, see
Layer 3—IP Routing Configuration Guide.
2.
Configure the VPN site:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A
3.
Configure the MCE as the
EBGP peer.
peer
ipv6-address
as-number
as-number
By default, no BGP peer is
configured.
4.
Create and enter BGP IPv6
unicast instance view.
ipv6-family
[
unicast
]
N/A
5.
Enable BGP to exchange
IPv6 unicast routing
information with the EBGP
peer.
peer
ipv6-address
enable
By default, BGP cannot
exchange IPv6 unicast routing
information with a peer.
6.
(Optional.) Redistribute the
IGP routes of the VPN.
import-route
protocol
[
process-id
[
med
med-value
|
route-policy
route-policy-name
]
* ]
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 an IPv6 MCE and a 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.
Configurations in this section are performed on the MCE. For information about configuring the PE, see
the configuration guide for the PE.
Configuring IPv6 static routing between an IPv6 MCE and a PE
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure IPv6 static
routes for an IPv6 VPN
instance.
ipv6 route-static vpn-instance
s-vpn-instance-name
ipv6-address prefix-length
{
interface-type
interface-number
[
next-hop-address
] |
nexthop-address
[
public
] |
vpn-instance
d-vpn-instance-name nexthop-address
}
[
permanent
] [
preference
preference-value
] [
tag
tag-value
] [
description
description-text
]
By default, no IPv6 static
route is configured.