The system view is displayed.
Step 2
Run:
sysname
host-name
The equipment name is set.
By default, the equipment name of the router is Huawei.
You can change the name of the router that appears in the command prompt.
----End
3.1.3 Setting the System Clock
You need to set the system time properly to ensure the cooperation between the AR2200 and
other devices.
Context
The system clock displays the current time and date of the system, time zone to which the system
belongs, and daylight saving time. The AR2200 supports the configurations of the time zone
and the daylight saving time.
Do as follows in the user view:
Procedure
Step 1
Run:
clock datetime
HH:MM:SS
YYYY-MM-DD
The current date and time is set.
Step 2
Run:
clock timezone
time-zone-name
{
add
|
minus
}
offset
The time zone is set.
l
If
add
is configured, the current time is the UTC time plus the time offset. That is, the default
UTC time plus
offset
is equal to the time of
time-zone-name
.
l
If
minus
is configured, the current time is the UTC time minus the time offset. That is, the
default UTC time minus
offset
is equal to the time of
time-zone-name
.
Step 3
Run:
clock daylight-saving-time
time-zone-name
one-year
start-time
start-date
end-time
end-date
offset
or
clock daylight-saving-time
time-zone-name
repeating
start-time
{ {
first
|
second
|
third
|
fourth
|
last
}
weekday
month
|
start-date
}
end-time
{ {
first
|
second
|
third
|
fourth
|
last
}
weekday
month
|
end-date
}
offset
[
start-year
[
end-year
] ]
The daylight saving time is set.
By default, the daylight saving time is not set.
Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
3 Basic Configuration
Issue 02 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
25