Russia and China have backed Iran’s right to a peaceful nuclear programme, but urged President Ahmadinejad to be “more constructive” in his dealings with the international community on the thorny issue of atomic energy.
President Medvedev and his Chinese counterpart Hu Jintao held a joint news conference at the Kremlin after earlier talks.
They also spoke of the need to resume nuclear negotiations with North Korea.
Both leaders expressed their concerns about UN intervention into the internal affairs of sovereign states.
As the situation in Syria deteriorates, the pair turned their attention to UN action in war-torn Libya and urged strict adherence to UN Security Council resolutions.
The two global powers said they are finalising details to put an end to a fractious dispute over a major gas deal.
President Hu has made securing energy for the world’s second-biggest economy a priority, but relations with Russia over energy has been less than cordial.
The two sides have been stuck over the price of gas that Russian energy giant Gazprom would pump to China via two separate routes.