The suspect in the Oct. 5, 2014, shooting of a Montgomery police officer has entered a guilty plea before his trial was set to start.