10
C
HAPTER
1: C
ONFIGURATION
C
OMMANDS
Parameter
zone_name:
Name of the summer time, which is a character string of 1
to 32 characters.
absolute
: Only sets the summer time of some year.
recurring
: Sets the summer time of every year starting from some
year.
HH:MM:SS: Time (hour/minute/second).
YYYY/MM/DD: Date (year/month/day).
Description
■
Using the
clock summer-time
command, you can set the name, starting and
ending time of the summer time. Using the
undo clock summer-time
command, you can remove the configuration of the summer time.
■
After the configuration takes effect, you can use the
display clock
command
to make the verification. Besides, the time of the log or debug information will
be the local time on which the adjustment of the time zone and summer time
has been made.
For related command, see
clock timezone
.
Example
Add one hour to the clock for the summer time z2 that starts at 06:00:00 on
2002/06/08 and ends at 06:00:00 on 2002/09/01.
<3Com> clock summer-time z2 absolute 06:00:00 2002/06/08 06:00:00
2002/09/01 01:00:00
# Add one hour to the clock each year starting from 2002 for the
summer time z2 that starts at 06:00:00 on 08/06 and ends at 06:00:00
on 01/09.
<3Com> clock summer-time z2 recurring 06:00:00 2002/06/08 06:00:00
2002/09/01 01:00:00
clock datetime
Syntax
clock datetime HH:MM:SS YYYY/MM/DD
View
User view
Parameter
HH:MM:SS: Time (hour/minute/second).
YYYY/MM/DD: Date (year/month/day) in the range of 1993 to 2035.
Description
Using the clock datetime command, you can set the time and date.
After the configuration takes effect, you can verify it by executing the
display
clock
command. The time applied to the log and debug information has been
adjusted.
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...