Equilibrium and stability of an axially symmetric plasma with anisotropic pressure