The invention belongs to the field of communication, and provides a device for achieving Ethernet topology automatic switchover. The device comprises multiple network interfaces for external network cables to be connected, a control communication interface, a microprocessor, an MAC exchange chip and multiple PHY chips. The control communication interface is used for operating the device to achieve the Ethernet topology automatic switchover. The microprocessor is used for receiving and processing of instructions and return of results, is also used for generating and maintaining a network interface forwarding table, and controls the MAC exchange chip to modify the forwarding rules of corresponding network interfaces. The network interface forwarding table uses a group as a unit, each network interface can be only in one group, and for all the network interfaces in one group, flow of each network interface will be forwarded to the other network interfaces. According to the device for achieving the Ethernet topology automatic switchover, an Ethernet topology automatic switchover function can be achieved, manual operation is not needed, wire-speed forwarding can be further achieved, under the circumstance that performance is guaranteed, topological transformation is flexible, management is convenient, and real-time configuration is convenient to carry out.