Command - HPE D6020 Maintenance And Service Manual

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

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.
<Sysname> system-view
[Sysname] clock timezone Z5 add 5
Related commands
clock datetime
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
Parameters
id: Specifies an ID for the command, in the range of 0 to 4294967295. A command ID uniquely
identifies a command in a job. Commands in a job are executed in ascending order of their command
IDs.
command: Specifies the command to be assigned to the job.
Usage guidelines
To assign a command (command A) to a job, you must first assign the job the command or
commands for entering the view of command A.
If you specify the ID of an existing command for another command, the existing command is
replaced.
Make sure all commands in a schedule are compliant to the command syntax. The system does not
examine the syntax when you assign a command to a job.
If a command requires a yes or no answer, the system always assumes that a Y or Yes is entered. If
a command requires a character string input, the system assumes that either the default character
string (if any) or a null string is entered.
A job cannot contain the telnet, ftp, ssh2, or monitor process command.
Examples
# Assign commands to the backupconfig job to back up the configuration file startup.cfg to the
TFTP server at 192.168.100.11.
<Sysname> system-view
283

Advertisement

Table of Contents
loading

Table of Contents