This utility model relates to the field of switch technology and discloses a switch port protection device that is easy to install and maintain, including a mounting rack. This easy-to-install and maintain switch port protection device secures the rack by inserting the docking pins on the docking rack into the mounting slots on the mounting rack. In narrow doorways, it can be disassembled for easier placement. The mounting rack and docking rack have locking pins that engage with slots under the top cover, firmly securing the joint between the mounting rack and docking rack to prevent separation. A support frame is located in the middle of the mounting rack and docking rack, allowing for use from either the front or back of the cabinet with the cabinet door open. The connecting ears on the left and right sides of the switch body are aligned with the threaded holes on the left and right sides of the support frame. After selecting the appropriate height, the fixing bolts are hand-tightened to secure the switch. This makes installation, disassembly, and maintenance more convenient.