30
Step Command
Remarks
learned from the VPN site to
other IBGP peers, including
VPNv6 peers. The MCE
advertises routes learned from a
VPN site only when you
configure the VPN site as a
client of the RR (the MCE).
8.
Redistribute remote site
routes advertised by the
PE into BGP.
import-route
protocol
[ {
process-id
|
all-processes
}
[
allow-direct
|
med med-value
|
route-policy
route-policy-name
] * ]
By default, no routes are
redistributed into BGP.
2.
Configure a VPN site:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP instance view.
bgp
as-number
[
instance
instance-name
]
[
multi-session-thread
]
By default, BGP is not enabled.
3.
Configure the MCE as an
IBGP peer.
peer
{
group-name
|
ipv6-address
[
prefix-length
] }
as-number
as-number
By default, no BGP peers or
peer groups exist.
4.
Enter BGP-VPN IPv6
unicast address family
view.
address-family ipv6
[
unicast
]
N/A
5.
Enable BGP to exchange
IPv6 unicast routes with the
peer.
peer
{
group-name
|
ipv6-address
[
prefix-length
] }
enable
By default, BGP does not
exchange IPv6 unicast routes
with any peer.
6.
Redistribute the IGP routes
of the VPN into BGP.
import-route
protocol
[ {
process-id
|
all-processes
}
[
allow-direct
|
med med-value
|
route-policy
route-policy-name
] * ]
By default, no routes are
redistributed into BGP.
A VPN site must advertise VPN
network addresses to the
connected MCE.
Configuring routing between an MCE and a PE
MCE-PE routing configuration includes the following tasks:
•
Binding the MCE-PE interfaces to IPv6 VPN instances.
•
Performing routing configurations.
•
Redistributing IPv6 VPN routes into the routing protocol running between the MCE and the PE.
Perform the following configurations on the MCE. For information about configuring the PE, see the
documentation for the PE.
Configuring IPv6 static routing between an MCE and a 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
vpn-instance
s-vpn-instance-name ipv6-address prefix-length
{
interface-type interface-number
By default, no IPv6 static
routes are configured.