This work presents the nonlinear dynamics of a quantum cascade laser subject to optical injection. Within the stable locking regime, the optical power shows a hysteresis behavior as a function of the detuning frequency. Outside the stable locking regime, the laser mostly produces periodic oscillations. However, the laser pumped at a high pump current also generates spiking pulsations with uniform amplitude, which occur in the vicinity of the negative locking boundary.