In this embodiment of this application, the first network device sends the configuration information to the terminal device, so that the terminal device can determine a target cell based on the configuration information, and randomly access the determined target cell, to complete a handover procedure, thereby improving a handover success rate.
It should be understood that the first target cell may be a neighboring cell of the serving cell. In this embodiment of this application, one network device may serve a plurality of cells. The handover in this embodiment of this application may be a handover in the serving cell, may be a handover between a plurality of cells served by one network device, or may be a cell handover between different network devices. This embodiment of this application is not limited thereto.