Effects of a solar wind dynamic pressure increase in the magnetosphere and in the ionosphere