11-12-2022 07:58 PM
how to put in command for indian format time zone ,unable to do
11-12-2022 08:34 PM
Hi @krahulbgp ,
The "clock timezone" command requires a few additional parameters:
clock timezone zone hours-offset [minutes-offset]
So for India, it would be the following:
clock timezone IST 5 30
Regards,
05-23-2023 07:10 AM - edited 03-06-2025 01:47 PM
To set the Indian time zone on Cisco switches, you can use the following commands:
Connect to the Cisco switch using a terminal emulator, such as PuTTY or TeraTerm.
Enter privileged EXEC mode by typing the enable command and providing the appropriate password.
Access global configuration mode by typing the configure terminal command.
Use the clock timezone command to set the time zone. For Time in India now, you can use the following command:
In this command, "IST" is the time zone abbreviation for Indian Standard Time. The "5" represents the number of hours ahead of Coordinated Universal Time (UTC) and the "30" represents the number of minutes ahead of UTC. You may adjust the values accordingly if the time zone changes in the future.
Save the configuration by typing the write memory command or the copy running-config startup-config command to make the changes persistent across reboots.
After performing these steps, the Cisco switch will be configured with the Indian time zone (IST). Remember that the switch's time will need to be synchronized with a reliable time source for accurate timekeeping. You can configure NTP (Network Time Protocol) on the switch to synchronize its time with an NTP server.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide