The commander of Iran's ground forces cautions aggressors of any "stupid move", stressing it will be dealt with seriously.