358
• Configuring MPLS LDP for the MPLS backbones so that LDP LSPs can be established
The following sections describe inter-AS IPv6 VPN option A and option C. Select one according to your
network scenario.
Configuring inter-AS IPv6 VPN option A
Inter-AS IPv6 VPN option A applies to scenarios where the number of VPNs and that of VPN routes on
the PEs are relatively small. It is easy to implement.
To configure inter-AS IPv6 option A:
• Perform basic IPv6 Configuring MPLS L3VPN 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, and those on ASBR PEs are for access of the peer ASBR PEs.
For configuration information, see "Configuring MPLS L3VPN."
In the in
ter-AS IPv6 VPN option A solution, for the same IPv6 VPN, the route 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). Route targets configured on the PEs in different
ASs do not have such requirements.
Configuring inter-AS IPv6 VPN option C
To configure inter-AS IPv6 option C, perform proper configurations on PEs and ASBR PEs, and configure
routing policies on the ASBR PEs.
Configuring the PEs
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.
To configure a PE for inter-AS IPv6 VPN option C:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Configure the ASBR PE in the
same AS as the IBGP peer.
peer { group-name | ip-address }
as-number as-number
N/A
4. Enable the PE to exchange
labeled routes with the ASBR
PE in the same AS.
peer { group-name | ip-address }
label-route-capability
By default, the PE does not
advertise labeled routes to the IPv4
peer/peer group.
5. Configure the PE of another
AS as the EBGP peer.
peer { group-name | ip-address }
as-number as-number
N/A
6. Enter BGP-VPNv6 subaddress
family view.
ipv6-family vpnv6
N/A