Abstract:
The present application relates to a method and an apparatus for switching between a master device and a backup device. The method for switching between a master device and a backup device includes: when an access device accesses a network by using the master device, detecting an interface that is on the master device and directly connected to the access device or a transmission device, so as to determine whether a link between the access device and the master device fails; and when it is determined that the link between the access device and the master device fails, instructing a redundancy group with a routing function to perform switching between the master device and the backup device, so that the access device accesses the network by using the backup device that is before the switching.