Configuring inter-as ipv6 vpn option c, Configuring the pes, Configuring the asbr pes – H3C Technologies H3C S10500 Series Switches User Manual
Page 363: Configuring the routing policy
352
To configure inter-AS IPv6 option A, you need to:
•
Perform basic IPv6 MPLS L3VPN configuration on each AS.
•
Configure each ASBR, taking the peer ASBR PE as its CE. In other words, configure VPN instances
on both PEs and ASBR PEs. The VPN instances on PEs allow CEs to access the network, while those
on ASBR PEs are for access of the peer ASBR PEs.
For configuration information, see “
Configuring basic IPv6 MPLS L3VPN
NOTE:
In the inter-AS IPv6 VPN option A solution, for the same IPv6 VPN, the VPN targets configured on the PEs
must match those configured on the ASBR-PEs in the same AS to ensure that VPN routes sent by the PEs (or
ASBR-PEs) can be received by the ASBR-PEs (or PEs). VPN targets configured on the PEs in different ASs
do not have such requirements.
Configuring inter-AS IPv6 VPN option C
Configuring the PEs
You need to establish ordinary iBGP peer relationships between PEs and ASBR PEs in an AS and
MP-eBGP peer relationships between PEs in different ASs.
The PEs and ASBR PEs in an AS must be able to exchange labeled routes.
Follow these steps to configure a PE for inter-AS IPv6 VPN option C:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp as-number —
Configure the ASBR PE in the same
AS as the iBGP peer
peer { group-name | ip-address }
as-number as-number
Required
Enable the PE to exchange labeled
routes with the ASBR PE in the
same AS
peer { group-name | ip-address }
label-route-capability
Required
By default, the PE does not
advertise labeled routes to the IPv4
peer/peer group.
Configure the PE of another AS as
the eBGP peer
peer { group-name | ip-address }
as-number as-number
Required
Enter BGP-VPNv6 subaddress
family view
ipv6-family vpnv6
—
Enable the PE to exchange BGP
VPNv6 routing information with the
eBGP peer
peer ip-address enable
Required
Configuring the ASBR PEs
In the inter-AS IPv6 VPN option C solution, an inter-AS LSP is required, and the routes advertised between
the relevant PEs and ASBRs must carry MPLS label information. The configuration is the same as that in
the Inter-AS IPv4 VPN option C solution. For more information, see the chapter “MPLS L3VPN
configuration.”
Configuring the routing policy
After you configure and apply a routing policy on an ASBR PE, it does the following: