272
Step
Command
Remarks
Configuration commands in
BGP-VPN IPv6 unicast address
family view are the same as those
in BGP IPv6 unicast address
family view. For details, see
Layer
3—IP Routing Configuration
Guide.
6.
Enable IPv6 unicast route
exchange with the specified
peer or peer group.
peer
{
group-name
|
ipv6-address
[
prefix-length
] }
enable
By default, BGP does not
exchange IPv6 unicast routes with
any peer.
7.
Redistribute the routes of the
local CE.
import-route
protocol
[
process-id
[
allow-direct
|
med
med-value
|
route-policy
route-policy-name
] * ]
A PE must redistribute the routes
of the local CE into its VPN routing
table so that it can advertise them
to the peer PE.
8.
(Optional.) Configure filtering
of advertised routes.
filter-policy
{
acl6-number
|
prefix-list
ipv6-prefix-name
}
export
[
protocol process-id
]
By default, BGP does not filter
advertised routes.
9.
(Optional.) Configure filtering
of received routes.
filter-policy
{
acl6-number
|
prefix-list
ipv6-prefix-name
}
import
By default, the PE does not filter
received routes.
2.
Configure the CE:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp as-number
N/A
3.
Configure the PE as an
EBGP peer.
peer
{
group-name
|
ipv6-address
[
prefix-length
] }
as-number
as-number
By default, no BGP peer is
configured.
4.
Create the BGP IPv6 unicast
address family and enter its
view.
address-family ipv6
[
unicast
]
By default, the BGP IPv6 unicast
address family is not created.
5.
Enable IPv6 unicast route
exchange with the specified
peer or peer group.
peer
{
group-name
|
ipv6-address
[
prefix-length
] }
enable
By default, BGP does not
exchange IPv6 unicast routes with
any peer.
6.
(Optional.) Configure route
redistribution.
import-route
protocol
[
process-id
[
allow-direct
|
med
med-value
|
route-policy
route-policy-name
] * ]
A CE must advertise its VPN
routes to the connected PE so
that the PE can advertise them to
the peer CE.
Configuring IBGP between a PE and a CE
Use IBGP between PE and CE only in a basic IPv6 MPLS L3VPN network. In networks such as
inter-AS VPN and carrier's carrier, you cannot configure IBGP between PE and CE.
1.
Configure the PE:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp as-number
N/A
3.
Enter BGP-VPN instance
view.
ip vpn-instance
vpn-instance-name
Configuration commands in
BGP-VPN instance view are the
same as those in BGP view. For