The president of Egypt met on Sunday in Cairo with the commander of eastern Libyan forces who is under international pressure to halt an advance on the capital Tripoli.