cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7167
Views
1
Helpful
2
Replies

how to put indian time zone in command

krahulbgp
Level 1
Level 1

how to put  in command for indian format time zone ,unable to do

krahulbgp_0-1668311373907.png

 

2 Replies 2

Harold Ritter
Spotlight
Spotlight

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,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

router-wifi
Level 1
Level 1

To set the Indian time zone on Cisco switches, you can use the following commands:

  1. Connect to the Cisco switch using a terminal emulator, such as PuTTY or TeraTerm.

  2. Enter privileged EXEC mode by typing the enable command and providing the appropriate password.

  3. Access global configuration mode by typing the configure terminal command.

  4. Use the clock timezone command to set the time zone. For Time in India now, you can use the following command:

     
    clock timezone IST 5 30

    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.

  5. 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.