Iran commander says others will not be safe if Iran is endangered