Cisco CSS 11501 Getting Started Guide - Page 66

clock timezone, hours, before-UTC, after-UTC, minute, timezone, for Eastern Standard Time EST

Page 66 highlights

Configuring the Date, Time, and Time Zone Chapter 2 Configuring CSS Basics Use the no form of the clock timezone command to reset the time zone information to 00:00:00, and also to set the clock to the new time without the time zone offset. Note The use of the clock timezone command assumes you are using the CSS with an SNTP server to synchronize the CSS system UTC time to that of a designated SNTP server. Without a configured SNTP server, the time zone information is not used. See the "Synchronizing the CSS with an SNTP Server" section for details. The syntax for the clock timezone command is: clock timezone name hours hours {before-UTC|after-UTC} {minute minutes {before-UTC|after-UTC} The options and variables are as follows: • timezone name - The name of the time zone. Enter a name with a maximum of 32 characters and no spaces. • hours hours - The hours of offset for the time zone. Enter a number from 0 to 12. Use with the before-UTC option or after-UTC option to set the offset to either a negative or positive number. • before-UTC - The offset for UTC as a negative number. For example, if the hour offset is 12, before-UTC sets the offset to -12. • after-UTC - The offset for UTC as a positive number (the default offset). • minute minutes - The minutes of offset for the time zone. Enter a number from 0 to 59. Use with the before-UTC option or after-UTC option to set the offset to either a positive or negative number. For example, to enter the new time zone for Eastern Standard Time (EST) with a -3 hour offset: # clock timezone EST hours 3 before-UTC To set the time zone offset back to 00:00:00 (and also set the clock to the new time without the time zone offset): # no clock timezone 2-18 Cisco Content Services Switch Getting Started Guide OL-6037-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142

Chapter 2
Configuring CSS Basics
Configuring the Date, Time, and Time Zone
2-18
Cisco Content Services Switch Getting Started Guide
OL-6037-01
Use the
no
form of the
clock timezone
command to reset the time zone
information to 00:00:00, and also to set the clock to the new time without the time
zone offset.
Note
The use of the
clock timezone
command assumes you are using the CSS with an
SNTP server to synchronize the CSS system UTC time to that of a designated
SNTP server. Without a configured SNTP server, the time zone information is not
used. See the
“Synchronizing the CSS with an SNTP Server”
section for details.
The syntax for the
clock timezone
command is:
clock timezone
name
hours
hours
{
before-UTC
|
after-UTC
} {
minute
minutes
{
before-UTC
|
after-UTC
}
The options and variables are as follows:
timezone
name
- The name of the time zone. Enter a name with a maximum
of 32 characters and no spaces.
hours
hours -
The hours of offset for the time zone. Enter a number from 0 to
12. Use with the
before-UTC
option or
after-UTC
option to set the offset to
either a negative or positive number.
before-UTC -
The offset for UTC as a negative number. For example, if the
hour offset is 12,
before-UTC
sets the offset to –12.
after-UTC
- The offset for UTC as a positive number (the default offset).
minute
minutes -
The minutes of offset for the time zone. Enter a number
from 0 to 59. Use with the
before-UTC
option or
after-UTC
option to set the
offset to either a positive or negative number.
For example, to enter the new time zone
for Eastern Standard Time (EST) with
a –3 hour offset
:
#
clock timezone EST hours 3 before-UTC
To set the time zone offset back to 00:00:00 (and also set the clock to the new time
without the time zone offset):
#
no clock timezone