Prime Minister Narendra Modi addressed the soldiers at Rajasthan's Longewala post on the occasion of Diwali.
He congratulated families of soldiers who are deployed along the border in festival season.
On the occasion, PM Modi recalled the fight the post had witnessed in 1971 war against Pakistan.
He asserted that India will give 'prachand jawab' (fierce reply) if it is provoked.
PM Modi's unambiguous message came amid continuing standoff with China at Ladakh border.
Longewala post in Rajasthan's Jaisalmer is a strategic post on the western border.
It is known for the Battle of Longewala which took place during the Indo-Pak war of 1971.
The Prime Minister was accompanied by CDS Gen Rawat, Army Chief Gen Naravane, BSF DG Asthana.