Configuring the Device Name
The device name is used to identify a device in a network. Inside the system, the device name
corresponds to the prompt of the CLI. For example, if the device name is Sysname, the prompt of user
view is <Sysname>.
Follow these steps to configure the device name:
To do...
Enter system view
Configure the device name
Configuring the System Clock
Configuring the system clock
The system clock, displayed by system time stamp, is decided by the configured relative time, time
zone, and daylight saving time. You can view the system clock by using the display clock command.
Follow these steps to configure the system clock:
To do...
Set time and date
Enter system view
Set the time zone
Set a daylight saving time
scheme
Displaying the system clock
The system clock is decided by the commands clock datetime, clock timezone and clock
summer-time. If these three commands are not configured, the display clock command displays the
original system clock. If you combine these three commands in different ways, the system clock is
displayed in the ways shown in
are as follows:
1 indicates date-time has been configured with the clock datetime.
2 indicates time-zone has been configured with the clock timezone command and the offset time
is zone-offset.
3 indicates daylight saving time has been configured with the clock summer-time command and
the offset time is summer-offset.
Use the command...
system-view
sysname sysname
Use the command...
clock datetime time date
system-view
clock timezone zone-name
{ add | minus } zone-offset
clock summer-time
zone-name one-off start-time
start-date end-time end-date
add-time
clock summer-time
zone-name repeating
start-time start-date end-time
end-date add-time
Table
1-1. The meanings of the parameters in the configuration column
1-3
Remarks
—
Optional
The device name is the device
type, such as S7902E.
Remarks
Optional
Available in user view.
—
Optional
Optional
Use either command