194
segment can be omitted. If the seconds segment is 0 (
hh
:
mm
:00), you can omit it. If both the minutes
and seconds segments are 0 (
hh
:00:00), you can omit both of the segments. For example, to specify
08:00:00, you can enter 8.
Usage guidelines
Correct system time is essential to network management and communication. You must configure
the system time correctly before you run the device on the network.
After you set the time zone, the device recalculates the system time. To view the system time, use
the
display clock
command.
Make sure all devices on the network are using the same time zone as the local time.
Examples
# Set the name of the local time zone to
Z5
, and add 5 hours to the UTC time or local system time.
<Sysname> system-view
[Sysname] clock timezone Z5 add 5
Related commands
clock datetime
clock protocol
clock summer-time
display clock
command
Use
command
to assign a command to a job.
Use
undo command
to revoke a command.
Syntax
command
id command
undo command
id
Default
No command is assigned to a job.
Views
Job view
Predefined user roles
network-admin
mdc-admin
Parameters
id
: Specifies a command ID in the range of 0 to 4294967295.
command
: Specifies the command to be assigned to the job.
Usage guidelines
A job can have multiple commands. Commands in a job are uniquely identified by their IDs. A
command with a smaller ID is executed earlier.
If a command uses the ID of an existing command, the existing command is replaced.
A job cannot contain the
telnet
,
ftp
,
ssh2
, or
monitor process
command.