HP VPN Firewall Appliances Getting Started Guide
98
Scheduled job configuration example
Network requirements
Configure scheduled jobs on the firewall to enable interfaces GigabitEthernet 0/1, GigabitEthernet 0/2,
and GigabitEthernet 0/3 at 8:00 and disabled them at 18:00 on working days every week, to control
the access of the PCs connected to these interfaces.
Figure 71 Network diagram
Configuration procedure
# Enter system view.
<Sysname> system-view
# Create a job named pc1, and enter its view.
[Sysname] job pc1
# Configure the job to be executed in the view of GigabitEthernet 0/1.
[Sysname-job-pc1] view gigabitethernet 0/1
# Configure the firewall to enable GigabitEthernet 0/1 at 8:00 on working days every week.
[Sysname-job-pc1] time 1 repeating at 8:00 week-day mon tue wed thu fri command undo
shutdown
# Configure the firewall to shut down GigabitEthernet 0/1 at 18:00 on working days every week.
[Sysname-job-pc1] time 2 repeating at 18:00 week-day mon tue wed thu fri command shutdown
[Sysname-job-pc1] quit
# Create a job named pc2, and enter its view.
[Sysname] job pc2
# Configure the job to be executed in the view of GigabitEthernet 0/2.
[Sysname-job-pc2] view gigabitethernet 0/2
# Configure the firewall to enable GigabitEthernet 0/2 at 8:00 on working days every week.
[Sysname-job-pc2] time 1 repeating at 8:00 week-day mon tue wed thu fri command undo
shutdown
# Configure the firewall to shut down GigabitEthernet 0/2 at 18:00 on working days every week.
[Sysname-job-pc2] time 2 repeating at 18:00 week-day mon tue wed thu fri command shutdown
[Sysname-job-pc2] quit
# Create a job named pc3, and enter its view.