R3303-HP HSR6800 Routers Fundamentals Configuration Guide

137
Configuration guidelines
To have a job successfully run a command, make sure the specified view and command are valid.
The system does not verify their validity.
After job execution, the configuration interface, view, and user status that you have before job
execution are restored even if the job ran a command to change the user interface (for example,
telnet, ftp, and ssh2), the view (for example, system-view and quit), or the user status (for example,
super).
The jobs run in the background without displaying any messages except log, trap and debugging
messages.
Using the modular method:
{ Every job can have only one view and up to 10 commands. If you specify multiple views, the
one specified last takes effect.
{ Enter a view name in its complete form. Most commonly used view names include monitor for
user view, system for system view, GigabitEthernetx/x for Ethernet interface view, and
Vlan-interfacex for VLAN interface view.
{ The time ID (time-id) must be unique in a job. If two time and command bindings have the same
time ID, the binding configured most recently takes effect.
If you reboot the device, the system time and date are restored to the factory default. To make sure
scheduled jobs can be executed at the expected time, you must change the system time and date or
configure NTP for the device. For NTP configuration, see Network Management and Monitoring
Configuration Guide.
Scheduling a job by using the non-modular method
To schedule a job, execute one of the following commands in user view:
Task Command
Remarks
Schedule a job.
Schedule a job to run a
command at a specific time:
schedule job at time [ date ]
view view-name command
Schedule a job to run a
command after a delay:
schedule job delay time view
view-name command
Use either command.
If you execute the schedule job
command multiple times, the most
recent configuration takes effect.
Changing any clock setting can
cancel the job set by using the
schedule job command.
Scheduling a job by using the modular method
Step Command Remarks
1. Enter system view.
system-view N/A
2. Create a job and enter
job view.
job job-name N/A