Consumer prices climbed 2.4 percent last month compared to a year ago.