Egypt's president meets Libyan commander Haftar in Cairo

* Haftar's forces fighting campaign for Tripoli

* Commander heads eastern-based forces

* Offensive derailed U.N.-led dialogue (Updates with presidency statement)

By Aidan Lewis

CAIRO, April 14 (Reuters) - Egypt's President Abdel Fattah al-Sisi on Sunday met in Cairo with Khalifa Haftar, the commander of eastern-based Libyan forces, who is under international pressure to halt an advance on the capital Tripoli.

Egypt has close ties with Haftar, whose Libyan National Army (LNA) controls the east and swept through the mainly desert south earlier this year before moving to Tripoli ten days ago in a major escalation of conflict.

His move is the latest in a cycle of conflict and anarchy since the 2011 toppling of former dictator Muammar Gaddafi.

Haftar has projected himself as the scourge of Islamist militants and of the militias that grew powerful after the uprising. His rivals say he has fuelled conflict and risks returning Libya to authoritarian rule.

Egypt and the United Arab Emirates publicly support U.N.-led peace efforts in Libya, while being seen as Haftar's closest regional allies. Sisi, a former army chief, has led a far-reaching crackdown on Islamists with Egypt and has blamed Libya-based militants for some cross-border attacks.

A statement from Sisi's office did not mention Haftar's offensive directly but "confirmed Egypt's support for efforts to combat terrorism and extremist groups and militias in order to achieve security and stability for the Libyan citizen".

The presidency released photos showing Haftar, dressed in a blue suit, sitting with Sisi and his head of intelligence Abbas Kamel.

Haftar, a former general in Gaddafi's army who later turned against him, had long talked of a move on Tripoli, in Libya's west, where an internationally-recognised government sits.

His campaign has disrupted efforts by the United Nations to bring rival eastern and western administrations to the negotiating table to plan an election and end the turmoil.

Sunday was the day the United Nations had hoped to hold a national conference in the southwestern town of Ghadames.

"Our position will not change," U.N. envoy Ghassan Salame tweeted. "You've learned and tasted war. No matter how obstinate one becomes, there is no solution except a political one."

SURPRISE PUSH FOR TRIPOLI

As well as thwarting the U.N. plan, the flare-up threatens to disrupt oil supplies, boost migration to Europe, let Islamist militants exploit the chaos, and worsen Libyans' suffering.

The fighting has killed 121 people, mainly fighters, and wounded another 561, according to U.N. tallies. Some 13,600 people have fled their homes.