If the Level 1 carrier and the Level 2 carrier are in the same AS, the Level 1 carrier takes the Level 2 carrier as its VPN user. 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 the 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.
The configuration is committed.
The system view is displayed.
LDP is enabled for the created VPN instance.
Return to the system view.
The view of interface connected to the Level 1 carrier CE is displayed.
MPLS is enabled on the interface.
LDP is enabled on the interface.
Return to the system view.
The RIP multi-instance, the OSPF multi-instance or the IS-IS multi-instance can be used on PE as an IGP between the PE and the Level 1 carrier CE. In the IGP multi-instance view, BGP routes are imported; in the BGP-VPN instance view, IGP routes are imported. The detailed configuration is not mentioned here.
The system view is displayed.
The view of interface connected to the Level 1 carrier PE is displayed.
An IPv4 address is configured for the interface.
MPLS is enabled on the interface.
LDP is enabled on the interface.
The IP address of the current interface is used to establish an LDP session.
If the interface is not bound to a VPN instance, by default, the LSR ID is used as the transport address for the local LDP session.
The transport address is used to establish a TCP connection between the local node and its peer. The peer must have a reachable route to this transport address. The default transport address is the loopback interface address (an LSR ID). When the address of the loopback interface is a public network address, configure different transport addresses for LSRs so that LSRs can set up connections to private network addresses.
Return to the system view.
RIP, OSPF or IS-IS can be used on the CE as an IGP between the CE and the Level 1 carrier PE. The detailed configuration is not mentioned here.