29
Configuring EBGP between an MCE and a VPN site
About EBGP between an MCE and a VPN site
To use EBGP between an MCE and IPv6 VPN sites, you must configure a BGP peer for each IPv6
VPN instance on the MCE, and redistribute the IGP routes of each VPN instance on the IPv6 VPN
sites.
For more information about IPv6 BGP, see
Layer 3—IP Routing Configuration Guide
.
Restrictions and guidelines
A VPN site must advertise IPv6 VPN network addresses it can reach to the connected MCE.
Configuring the MCE
1.
Enter system view.
system-view
2.
Enter BGP instance view.
bgp
as-number
[
instance
instance-name
]
3.
Enter BGP-VPN instance view.
ip vpn-instance
vpn-instance-name
4.
Configure the VPN site as an EBGP peer.
peer
{
group-name
|
ipv6-address
[
prefix-length
]
}
as-number
as-number
5.
Enter BGP-VPN IPv6 unicast address family view.
address-family ipv6
[
unicast
]
6.
Enable BGP to exchange IPv6 unicast routes with the specified peer.
peer
{
group-name
|
ipv6-address
[
prefix-length
]
}
enable
By default, BGP does not exchange IPv6 unicast routes with any peer.
7.
Redistribute remote site routes advertised by the PE.
import-route
protocol
[
{
process-id
|
all-processes
}
[
allow-direct
|
med med-value
|
route-policy route-policy-name
]
*
]
By default, no route redistribution is configured.
Configuring the VPN site
1.
Enter system view.
system-view
2.
Enter BGP instance view.
bgp
as-number
[
instance
instance-name
]
3.
Configure the MCE as an EBGP peer.
peer
{
group-name
|
ipv6-address
[
prefix-length
]
}
as-number
as-number
4.
Enter BGP IPv6 unicast address family view.
address-family ipv6
[
unicast
]
5.
Enable BGP to exchange IPv6 unicast routes with the specified 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.
import-route
protocol
[
{
process-id
|
all-processes
}
[
allow-direct
|
med med-value
|
route-policy route-policy-name
]
*
]