The Afghan Director General Military Operations (DGMO) along with a delegation visited army headquarters in Rawalpindi and held a meeting with his Pakistani counterpart.
During the meeting, issues related to bilateral security and border management were discussed, the Pakistan army said in a statement.
"Both sides reiterated that terrorists operating on either side of border will not be allowed to use their soil for any terrorist activity on either side of the border," it said.
The two sides also expressed resolve to continue the interaction for better bilateral military-to-military coordination.
Last week, bilateral Corps Commanders' meeting was held in Peshawar.