Time zone commands
Time zone mode provides the commands to set the local time zone for the system.
To enter the mode, use the global timezone command.
While in this mode, use the command in the following table to define the local time zone.
- To view the current configuration, use the show command.
- To restore default values, use the reset command.
- To exit this configuration mode without saving changes to the running configuration, use the cancel command.
- To exit this configuration mode and save changes to the running configuration, use the exit command.
| Command | Purpose |
|---|---|
| admin-state | This command sets the administrative state for the configuration. |
| custom | This command specifies the name of a custom time zone. |
| daylight-name | This command specifies the name of the time zone when in Daylight Saving Time. This name is appended to the time. |
| daylight-offset | This command sets the offset, in hours, for Daylight Saving Time. |
| daylight-start-day | This command specifies the day of the week when Daylight Saving Time starts. |
| daylight-start-hours | This command specifies the hour in the day when Daylight Saving Time starts. |
| daylight-start-minutes | This command specifies the minute in the hour when Daylight Saving Time starts. |
| daylight-start-month | This command specifies the month of the year when Daylight Saving Time starts. |
| daylight-start-week | This command specifies the instance of the day in the month when Daylight Saving Time starts. |
| daylight-stop-day | This command specifies the day of the week when Daylight Saving Time stops. |
| daylight-stop-hours | This command specifies the hour in the day when Daylight Saving Time ends. |
| daylight-stop-minutes | This command specifies the minute in the hour when Daylight Saving Time ends. |
| daylight-stop-month | This command specifies the month of the year when Daylight Saving Time ends. |
| daylight-stop-week | This command specifies the instance of the day in the month when Daylight Saving Time ends. |
| direction | This command specifies the direction, relative to Coordinated Universal Time, of the time zone. |
| name | This command sets the local time zone for the DataPower Gateway. |
| offset-hours | This command specifies the offset in hours, relative to Coordinated Universal Time, of the time zone. |
| offset-minutes | This command specifies the offset in minutes of the time zone relative to Coordinated Universal Time. |