A temporal variation of a spectrum of excited modes in a continuously pumped erbium-doped random fiber laser (RFL), based on randomly distributed Bragg gratings, is studied. Developed phenomenological theoretical model assumes hard excitation mechanism of the eigenmodes instability. The model explains qualitatively peculiarities of the spectrum variation, observed experimentally.