Fire crews contained a vegetation fire that broke out Monday afternoon on the banks of the San Luis Rey River just east of Interstate 5 in Oceanside, fire officials said.