Setting the time zone
Use the clock timezone command to set the time zone for a switch. You must use the command for all switches for which a time zone must be set. However, you only need to set the time zone once on each switch, because the value is written to nonvolatile memory.
Setting the time and date can be done in Privileged EXEC mode by using the RBridge ID of the node. (Setting the date and time can also be done in RBridge ID configuration mode, but must be done on a per-node basis in this mode.) Refer to the clock timezone command in each mode in the Network OS Command Reference.
Refer to the Network OS Troubleshooting Guide for a complete list of configurable regions and cities.
Enter the clock timezone region/city command.
switch# clock timezone America/Los_Angeles rbridge-id all
Upgrade considerations: The existing timezone of the system is retained after a firmware upgrade, and it will be updated in configuration settings.
General downgrade considerations: The existing timezone of the system is retained after firmware downgrade and the respective entry will be removed from configuration settings.
- In logical chassis cluster mode, the downgrade is blocked if running-config includes the new Russian time zone configuration.
- In fabric cluster mode, the downgrade is blocked if startup-config include the new time Russian time zone configuration.