Teachers are to be consulted about a 2.8% pay rise and whether they are prepared to strike over the offer.