276
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.
To configure inter-AS IPv6 option A:
• Configure basic IPv6 MPLS L3VPN on each AS.
• 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 more configuration information, see "Configuring MPLS L3VPN."
In the inter-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. This makes sure 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 VPN option C, perform proper configurations on PEs and ASBR-PEs, and
configure routing policies on the ASBR-PEs.
Configuring the PEs
Establish an IBGP peer relationship between a PE and an ASBR-PE in an AS, and an MP-EBGP
peer relationship 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:
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 an IBGP
peer.
peer
{ group-name | ip-address
[ mask-length ] }
as-number
as-number
By default, n
configured.
4. Configure the PE in another
AS as an EBGP peer.
peer
{ group-name | ip-address
[ mask-length ] }
as-number
as-number
By default, n
configured.
5.
address family view.
address-family ipv4
[
unicast
]
N/A
6. Enable the PE to exchange
BGP IPv4 unicast routes with
the ASBR-PE in
AS.
peer
{ group-name | ip-address
[ mask-length ] }
enable
By default, the PE does not
exchange BGP
routes with any peer.
7. Enable the PE to exchange
labeled routes with the
ASBR-PE in the same AS.
peer
{ group-name | ip-address
[ mask-length ] }
label-route-capability
By default, the PE
does not
advertise labeled routes to any
IPv4 peer/peer group.
8. Return to BGP view.
quit
N/A
9.
family view.
address-family vpnv6
N/A
10. Enable the PE to exchange
information with the EBGP
peer
ip-address [ mask-length ]
enable
By default, the PE
exchange labeled routes with any
IPv4 peer/peer group.