347
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Enter IPv6 BGP subaddress family
view
ipv6-family
Required
Configure the PE as the eBGP peer
peer
ipv6-address
as-number
as-number
Required
Configure route redistribution and
advertisement
import-route
protocol
[
process-id
]
[
med
med-value
|
route-policy
route-policy-name
] *
Optional
A CE needs to 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
To configure routing between PEs:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
Required
Configure the remote PE as the
peer
peer
ip-address
as-number
as-number
Required
Specify the source interface for
route update packets
peer
{
group-name
|
ip-address
}
connect-interface
interface-type
interface-number
Required
By default, BGP uses the outbound
interface of the best route to the
BGP peer.
Enter BGP-VPNv6 subaddress
family view
ipv6-family vpnv6
Required
Enable the exchange of
BGP-VPNv6 routing information
with the specified peer
peer
ip-address
enable
Required
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.