© 2017 [Optical Society of America]. Users may use, reuse, and build upon the article, or use the article for text or data mining, so long as such uses are for non-commercial purposes and appropriate attribution is maintained. All other rights are reserved.The generation of extreme intensity pulses in an optically injected semiconductor laser is studied numerically by using a well-known rate equation model. We show that step-up perturbations of the laser pump current can trigger extreme pulses. We study the perturbation parameters (amplitude, duration) that are more likely to trigger a extreme pulse, and compare the properties of the generated extreme pulses with those spontaneous emitted, which are due to the intrinsic deterministic dynami...