Dynamical behaviour of magnetosphere boundary following impact by discontinuity in the solar wind