Managing the device
Device management includes monitoring the operating status of devices and configuring their running
parameters.
The configuration tasks in this document are order independent. You can perform these tasks in any
order.
Configuring the device name
A device name identifies a device in a network and works as the user view prompt at the CLI. For
example, if the device name is Sysname, the user view prompt is <Sysname>.
To configure the device name:
Step
1.
Enter system view.
2.
Configure the device name.
Changing the system time
You must synchronize your device with a trusted time source by using NTP or changing the system time
before you run it on the network. Network management depends on an accurate system time setting,
because the timestamps of system messages and logs use the system time. For NTP configuration, see
Network Management and Monitoring Configuration Guide.
In a small-sized network, you can manually set the system time of each device.
Configuration guidelines
You can change the system time by configuring the relative time, time zone, and daylight saving time. The
configuration result depends on their configuration order (see
1 represents the clock datetime command, 2 represents the clock timezone command, and 3 represents
the clock summer-time command. To verify the system time setting, use the display clock command. This
table assumes that the original system time is 2005/1/1 1:00:00.
Table 19 System time configuration results
Command
1
2
1, 2
Command
system-view
sysname sysname
Effective system time
date-time
Original system time ±
zone-offset
zone-offset
date-time ±
106
Remarks
N/A
The default device name is HP.
Table
19). In the first column of this table,
Configuration example
clock datetime 1:00
2007/1/1
clock timezone
zone-time add 1
clock datetime 2:00
2007/2/2
clock timezone
zone-time add 1
System time
01:00:00 UTC Mon
01/01/2007.
02:00:00 zone-time Sat
01/01/2005.
03:00:00 zone-time Fri
02/02/2007.