The two countries, which share a long, porous border, signed five memorandums of understanding on Monday dealing with issues of cross-border militant activity, smuggling, drug trafficking and illegal immigration.
Relations have sometimes suffered due to cross-border action by militant groups.