Consider the function f(x)=x^2+bx−21, where b is a constant. If the function has an axis of symmetry at x=2, what is the value of b?