Pakistan's army chief is warning India any military aggression in contested Kashmir will not go unpunished.
General Raheel Sharif said Thursday Pakistan wants good relations with all its neighbors, but no one should mistake its collective resolve to defend itself.
On the other side of the border, India said it had foiled an attack by suspected rebels near an army base in Indian-controlled Kashmir. All three attackers were killed, according to the army.
In a separate incident, the Indian army said at least one militant was killed in clashes between groups along the highly militarized Line of Control that divides Kashmir between Indian and Pakistani control.
Neither incident has been independently confirmed.
Mounting tensions between India and Pakistan over the contested region of Kashmir were sparked by a rebel attack last month that left 19 soldiers and four attackers dead at an Indian military base in Kashmir.
India later retaliated by conducting what they called "surgical strikes" to destroy "terrorist launching pads" in Pakistan-controlled Kashmir. Islamabad rejects India's account, citing routine cross-border fire instead.
The violence also comes amid some of the largest protests in Kashmir against Indian rule in recent years, which have killed more than 80 people.