312
Configure VPN instances on both PEs and ASBRs. The VPN instances on PEs allow CEs to
access the network, and those on ASBRs are for access of the peer ASBRs.
For more configuration information, see "
841H
Configuring basic IPv6 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 ASBRs in the same AS. This makes sure VPN routes
sent by the PEs (or ASBRs) can be received by the ASBRs (or PEs). Route targets configured on the
PEs in different ASs do not have such requirements.
270B
Configuring inter-AS IPv6 VPN option C
To configure inter-AS IPv6 VPN option C, perform proper configurations on PEs and ASBRs, and
configure routing policies on the ASBRs.
528B
Configuring the PEs
Establish an IBGP peer relationship between a PE and an ASBR in an AS, and an MP-EBGP peer
relationship between PEs in different ASs.
The PEs and ASBRs in an AS must be able to exchange labeled routes.
To configure a PE for inter-AS IPv6 VPN option C:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP instance view.
bgp
as-number
[
instance
instance-name
]
[
multi-session-thread
]
N/A
3.
Configure the ASBR in the
same AS as an IBGP peer.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
as-number
as-number
By default, no BGP peers exist.
4.
Configure the PE in another
AS as an EBGP peer.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
as-number
as-number
By default, no BGP peers exist.
5.
Enter BGP IPv4 unicast
address family view.
address-family ipv4
[
unicast
]
N/A
6.
Enable BGP to exchange
BGP IPv4 unicast routes with
the ASBR in the same AS.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
enable
By default, the PE does not
exchange BGP IPv4 unicast
routes with any peer.
7.
Enable BGP to exchange
labeled routes with the ASBR
in the same AS.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
label-route-capability
By default, the PE does not
advertise labeled routes to any
IPv4 peer or peer group.
8.
Return to BGP instance view.
quit
N/A
9.
Enter BGP VPNv6 address
family view.
address-family vpnv6
N/A
10.
Enable BGP to exchange
BGP VPNv6 routing
information with the EBGP
peer.
peer ipv4-address
[
mask-length
]
enable
By default, the PE does not
exchange labeled routes with any
IPv4 peer or peer group.
529B
Configuring the ASBRs
In the inter-AS IPv6 VPN option C solution, an inter-AS LSP is needed, and the routes advertised
between the 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 "
842H
Configuring inter-AS
option C
."