A Rockford man is sentenced to 17 years in prison for drug possession.