Method and equipment for connection establishment

The embodiment of the invention provides a method and equipment for connection establishment and relates to the field of communication. The invention solves the problem of network connection interruption caused by the failure of a heartbeat line. The method comprises the following steps that after upstream primary network equipment detects that a link between a first heartbeat line port of the upstream primary network equipment and a second heartbeat line port of upstream standby network equipment is disconnected, downstream network equipment receives a first status notification message sent by the upstream primary network equipment through a primary port and switches a slave port of the downstream network equipment from a Standby status to a Forwarding status according to the first status notification message, so that the upstream primary network equipment is connected with the upstream standby network equipment through the primary port and the slave port of the downstream network equipment, wherein both the main port and the slave port are in Forwarding statuses. Through the method and the equipment provided by the embodiment of the invention, the upstream primary network equipment is connected with the upstream standby network equipment.