10
Scheduling a job in the modular approach
To configure a scheduled job:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a job and enter
job view.
job
job-name
N/A
3.
Specify the view in which
the commands in the job
run.
view
view-name
You can specify only one view for a
job. The job executes all
commands in the specified view.
4.
Add commands to the
job.
•
Configure a command to run at a
specific time and date:
time
time-id
at
time date
command
command
•
Configure a command to run at a
specific time:
time
time-id
{
one-off
|
repeating
}
at
time
[
month-date
month-day
|
week-day
week-daylist
]
command
command
•
Configure a command to run after
a delay:
time
time-id
{
one-off
|
repeating
}
delay
time
command
command
Use any of the commands.
Changing a clock setting does not
affect the schedule set by using the
time
at
or
time delay
command.
Scheduled job configuration example
Network requirements
Configure scheduled jobs on the AP to enable the interface Radio 1/0/1 at 8:00 and disabled it at
18:00 on working days every week, to control access to the AP.
Figure 1
Network diagram
Configuration procedure
1.
Configure the switch:
# Configure the local clock as a reference source. Set the stratum level to 2.