DAMASCUS, Syria (CNN) -- U.N. Secretary-General Kofi Annan said Friday that Syria has pledged to step up border patrols and work with the Lebanese army to stop the flow of weapons to Hezbollah.
Syria will increase its own patrols along the Lebanon-Syria border, and establish joint patrols with the Lebanese army "when possible," Annan said after meeting with Syrian President Bashar Assad in Damascus.
Annan met Syrian President Bashar al-Assad on Friday to garner support for the fragile cease-fire between Israel and Lebanon's Hezbollah militant group, whose main facilitators are Syria and Iran.
At a press conference following the meeting, Annan told reporters the Syrian president informed him that Syria would "take all necessary measures" to implement paragraph 15 of U.N. Security Council resolution 1701.
The resolution calls on countries to prevent the sale or supply of weapons to entities in Lebanon without the consent of the Lebanese government or U.N. peacekeepers.
Annan said that Syria would step up border patrols and work with the Lebanese army to stop the flow of weapons to Hezbollah.
Syria would establish joint patrols with the Lebanese army "when possible," Annan said.
Annan said Assad had also promised to use his influence to try to obtain the release of two captured Israeli soldiers.
Assad said he supported their release but raised the issue of Syrian prisoners held in Israel, Annan said, The Associated Press reported.
Assad made no comment after the meeting.
The soldiers' capture, which occurred in early July, sparked a 34-day battle between Israel and Hezbollah fought primarily in Lebanon.
CNN's Anthony Mills in Damascus said that the key question now was whether Syria's plans outlined to Annan would be translated into action.
But, he said, the fact that they were discussed means that Hezbollah would have known about them.
Annan's visit to Syria comes as part of a series of diplomatic trips he has recently made in efforts to maintain the peace between Israel and Lebanon.
He schedule to travel next to Qatar, Iran and Turkey. Also on his list are Saudi Arabia, Egypt and Jordan.
CNN's Anthony Mills in Damascus contributed to this report