When the Level 1 carrier and Level 2 carrier are in the same AS, the Level 1 carrier takes the Level 2 carrier as its VPN user.
The system view is displayed.
A VPN instance is created, and the VPN instance view is displayed.
The VPN instance IPv4 address family is enabled, and the view of this address family is displayed.
An RD is set for the VPN instance IPv4 address family.
The label distribution mode is set to per-route per-label.
A VPN target is 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 associated with the VPN instance.
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 the 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 configuration is committed.
The RIP multi-instance, the OSPF multi-instance or the IS-IS multi-instance can be used on PE as an IGP. In the IGP multi-instance view, BGP routes are imported; in the BGP-VPN instance address family view, IGP routes are imported. The detailed configuration is not mentioned here.
The system view is displayed.
The view of the interface connected to the Level 1 carrier PE is displayed.
The IP 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 set up an LDP session.
Return to the system view.
The configuration is committed.
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.