"The Pakistani troops violated the ceasefire by opening firing in Gurez sector at 12.30 pm which lasted till 2.00 pm," an army spokesman said in Srinagar.
He said two jawans were killed in the firing by Pakistani troops, who used automatic rifles, machine guns and mortars to target the Indian posts.
"Our troops responded to the unprovoked aggression in equal measure," he added.
The ceasefire violation comes five days ahead of Prime Minister Narendra Modi's scheduled to visit to Jammu and Kashmir on November 7.
A week ago, field commanders of the Border Security Force or BSF and Pakistan Rangers agreed to respect the bilateral ceasefire and work together to bring down tension on the border in Jammu and Kashmir.
This was agreed at a flag meeting between BSF's Deputy Inspector General (DIG) BS Kasana and Pakistan Rangers' Brigadier Waseem Jaffar Bhatti on the international border in Suchetgarh sector of Jammu district on Tuesday.
After a lull of over a month, Pakistan Rangers resorted to heavy firing and mortar shelling from October 23 targeting large number of Border Out Posts and border hamlets with 81, 82 mm mortar bombs and heavy machine guns till last Monday. It resulted in the death of a civilian and injuries to 14 others.
Follow NDTV for latest election news and live coverage of assembly elections 2019 in Maharashtra and Haryana.
Subscribe to our YouTube channel, like us on Facebook or follow us on Twitter and Instagram for latest news and live news updates.