Iranian state TV says a 6-magnitude earthquake has jolted a western region near the border with Iraq.