State media say Egypt has agreed to let 2 Iranian naval vessels transit the Suez Canal.