Nifty consolidates amid geopolitical tensions and elevated oil prices, trading within a narrow 23,500–24,800 range.