
Device management
Device management includes monitoring the operating status of devices and configuring their running parameters.
NOTE:
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>.
Follow these steps to configure the device name:
To do… | Use the command… | Remarks | |
Enter system view | — | ||
|
|
| |
Configure the device name | sysname sysname | Optional | |
The default device name is HP. | |||
|
| ||
|
|
|
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.
In a
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 Table 11). In the first column of this table, 1 represents the clock datetime command, 2 represents the clock timezone command, and 3 represents the clock
Table 11 System time configuration results
Command | Effective system time | Configuration example | System time | |
1 | clock | datetime 1:00 | 01:00:00 UTC Mon | |
|
| 2007/1/1 | 01/01/2007 | |
2 | Original system time ± | clock | timezone | 02:00:00 |
| 01/01/2005 |
126