335
For more configuration information, see "
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.
Configuring inter-AS IPv6 VPN option B
To configure inter-AS option B, perform configurations on PEs and ASBRs.
•
PE configuration:
Configure basic IPv6 MPLS L3VPN, and specify the ASBR in the same AS as an MP-IBGP
peer. The route targets for the VPN instances on the PEs in different ASs must match for the
same IPv6 VPN. For information about PE configuration, see "
."
•
ASBR configuration:
{
Configure a routing protocol, and enable MPLS and LDP on the interface connected to an
internal router of the AS.
{
Specify the PE in the same AS as an MP-IBGP peer, and the ASBR in a different AS as an
MP-EBGP peer.
{
Disable VPN target filtering for VPNv6 routes so the ASBR can maintain all VPNv6 routes
and advertise the routes to the peer ASBR.
{
Enable MPLS capability on the interface connected to the ASBR in another AS. There is no
need to configure a label distribution protocol, for example, LDP.
An ASBR always sets itself as the next hop of VPNv6 routes advertised to an MP-IBGP peer.
To configure inter-AS option B on an ASBR:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view of the
interface connected to an
internal router of the AS.
interface
interface-type
interface-number
N/A
3.
Enable MPLS on the
interface.
mpls enable
By default, MPLS is disabled on
the interface.
4.
Enable MPLS LDP on the
interface.
mpls ldp enable
By default, MPLS LDP is disabled
on the interface.
5.
Return to system view.
quit
N/A
6.
Enter interface view of the
interface connected to the
remote ASBR.
interface
interface-type
interface-number
N/A
7.
Enable MPLS on the
interface.
mpls enable
By default, MPLS is disabled on
the interface.
8.
Return to system view.
quit
N/A
9.
Enter BGP instance view.
bgp
as-number
[
instance
instance-name
]
[
multi-session-thread
]
N/A
10.
Create a BGP peer.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
as-number
as-number
By default, no BGP peers exist.
Configure PEs in the same AS as
IBGP peers, and ASBRs in
different ASs as EBGP peers.