
390
Step Command
Remarks
5.
Configure route
redistribution and
advertisement.
import-route
protocol
[
process-id
] [
med
med-value
|
route-policy
route-policy-name
]
*
Optional.
A CE must advertise its VPN
routes to the connected PE so
that the PE can advertise them to
the peer CE.
NOTE:
•
After an IPv6 BGP-VPN instance is configured, exchange of BGP routes for the VPN instance is
the same as exchange of ordinary BGP routes.
•
The configuration commands available in IPv6 BGP-VPN instance view are the same as those in
IPv6 BGP subaddress family view. For more configuration commands in the two views, see
Layer 3—IP Routing Configuration Guide
.
Configuring routing between PEs
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A
3.
Configure the remote PE as
the peer.
peer
ip-address
as-number
as-number
N/A
4.
Specify the source interface
for route update packets.
peer
{
group-name
|
ip-address
}
connect-interface
interface-type
interface-number
By default, BGP uses the
outbound interface of the best
route to the BGP peer.
5.
Enter BGP-VPNv6
subaddress family view.
ipv6-family vpnv6
N/A
6.
Enable the exchange of
BGP-VPNv6 routing
information with the
specified peer.
peer
ip-address
enable
By default, BGP peers exchange
only IPv4 routing information.
Configuring routing features for the BGP-VPNv6 subaddress
family
A variety of routing features for the BGP-VPNv6 subaddress family are the same as those for BGP
IPv6 unicast routing. You can select any of the features as required.
To configure routing features for the BGP-VPNv6 subaddress family:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A
3.
Configure the remote PE as
the peer.
peer
ip-address
as-number
as-number
N/A
4.
Specify the interface for TCP
connections.
peer
ip-address
connect-interface
interface-type
interface-number
N/A