The invention relates to the technical field of cloud platform interconnection switches, and discloses an automatic locking and vibration inclination prevention switch support, which comprises a rack, a placement plate is slidably connected in the rack, a sliding rod is fixedly connected to the center of the lower end of the placement plate, and a metal feeler lever is rotatably connected to one end, away from the placement plate, of the sliding rod. A metal strip is fixedly connected to the side face, close to the metal feeler lever, of the rack, a ratchet bar is fixedly connected to the edge of the lower end of the containing plate, a ratchet wheel is meshed with the side face of the ratchet bar, and a steel wire rope is fixedly wound around the circle center of the ratchet wheel. An electromagnetic rod pushes a movable rod to move, a clamping block is pushed out, a positioning block is fixed, a placement plate is prevented from shaking, and a lock is automatically unlocked when a switch is removed, so that the effects that the switch support can be prevented from moving, automatic locking and unlocking can be achieved, the stability of the switch support is improved, and equipment is more intelligent are achieved.