If you put a filter on the supply entry into the cabinet, all you will achieve is to keep all the electrical noise in the cabinet, which is not really what you want.
You can put a suitable/larger one, as close as possible to the drive in the AC supply, I would place another lighter version on the 120v supply to the PC if, this what you are using.
If this is a DC SCR controller, you may need the reactor choke style, they come mainly in 3 phase configuration, so you may have to make something up if you go that route, or just use two of the phase inputs.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.