The invention discloses a bidirectional operation mechanism and solves the problem that the probability of error operation is relatively high as grounding mechanisms on existing bidirectional switching looped network equipment are two independent mechanisms, not integrated, complicated in processing and assembling and not interlocked. According to the technical scheme of the bidirectional operation mechanism, the bidirectional operation mechanism comprises a front mounting plate, a rear mounting plate, two mechanical action mechanisms, two limiting columns, a spring action mechanism, two driven limiting plates and a driven shaft connector. The bidirectional operation mechanism has the advantages that the operation mechanism adopts an integrated grounding mechanism and is simple to process, easy and convenient to mount, the interlocking function between mechanisms is realized, and the situation of error operation cannot be caused, so that compared with an existing grounding mechanism, the operation mechanism is safe, reliable, low in cost and simple and convenient to mount; compared with a conventional operation mechanism, the operation mechanism is simple and convenient to operate, small in volume, light in weight, simple in structure and low in fault rate; the structure of the integrated grounding mechanism is favorable for effective work of equipment, the integrated grounding mechanism is low in cost and easy to learn and operate by a user, and the error operation of two-side simultaneous switching-on cannot be caused.