If the Level 1 carrier and the Level 2 carrier are in different ASs, the Level 1 carrier takes the Level 2 carrier as its VPN user, and the configuration of carrier's carrier is similar to the configuration of CE accessing PE in the basic BGP/MPLS IP VPN.
The system view is displayed.
A VPN instance is created and the VPN instance view is displayed.
The IPv4 address family is enabled for the VPN instance and the VPN instance IPv4 address family view is displayed.
The RD of the VPN instance IPv4 address family is set.
Each route is allocated a label.
One or multiple VPN targets are configured for the VPN instance IPv4 address family.
Return to the system view.
The view of interface connected to the Level 1 carrier CE is displayed.
The interface is bound to the VPN instance.
An IP address is configured for the interface.
MPLS is enabled on the interface.
The configuration is committed.
The system view is displayed.
A route-policy is created for the Level 1 carrier CE.
Labels are allocated to IPv4 routes.
Return to the system view.
The BGP view is displayed.
The BGP VPN-instance IPv4 address family view is displayed.
The Level 1 carrier CE is specified as the EBGP peer.
The function of exchanging labeled IPv4 routes is enabled.
Labels are assigned to routes advertised to the Level 1 carrier CE.
Direct routes are imported.
The configuration is committed.
The system view is displayed.
The view of the interface connected to the Level 1 carrier PE is displayed.
An IP address is configured for the interface.
MPLS is enabled on the interface.
Return to the system view.
The route-policy is created for the Level 1 carrier PE.
Labels are assigned to IPv4 routes.
Return to the system view.
The BGP view is displayed.
The Level 1 carrier PE is specified as the EBGP peer.
The function of exchanging labeled IPv4 routes is enabled.
Labels are assigned to the routes advertised to the Level 1 carrier PE.
The configuration is committed.
The system view is displayed.
A route-policy is created for the Level 2 carrier PE.
The labeled IPv4 routes are matched.
Labels are assigned to IPv4 routes.
Return to the system view.
The BGP view is displayed.
The Level 2 carrier PE is configured as the IBGP peer.
The interface used to set up a TCP connection is specified.
The function of exchanging labeled IPv4 routes is enabled.
Labels are assigned to the labeled IPv4 routes advertised to the Level 2 carrier PE.
Internal routes of the Level 2 carrier network are imported.
The configuration is committed.
The system view is displayed.
The BGP view is displayed.
The Level 1 carrier CE is specified as the IBGP peer.
The interface used to set up a TCP connection is specified.
The function of exchanging labeled IPv4 routes is enabled.
The configuration is committed.