43
2.
Configure a VPN site:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A
3.
Enter IPv6 address family
view.
ipv6-family
N/A
4.
Configure the IPv6 MCE as
the EBGP peer.
peer
ipv6-address
as-number
as-number
N/A
5.
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
To configure IPv6 static routing between IPv6 MCE and PE:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure an IPv6 static
route for an IPv6 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
]
User either
command.
Configuring RIPng between IPv6 MCE and PE
Step Command
Remarks
1.
Enter system view.
system-view
N/A