102
[Firewall-job-pc1] time 2 repeating at 18:00 week-day mon tue wed thu fri command shutdown
[Firewall-job-pc1] quit
# Create a job named pc2, and enter its view.
[Firewall] job pc2
# Configure the job to be executed in the view of GigabitEthernet 0/2.
[Firewall-job-pc2] view gigabitethernet 0/2
# Configure the firewall to enable GigabitEthernet 0/2 at 8:00 on working days every week.
[Firewall-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.
[Firewall-job-pc2] time 2 repeating at 18:00 week-day mon tue wed thu fri command shutdown
[Firewall-job-pc2] quit
# Create a job named pc3, and enter its view.
[Firewall] job pc3
# Configure the job to be executed in the view of GigabitEthernet 0/3.
[Firewall-job-pc3] view gigabitethernet 0/3
# Configure the firewall to enable GigabitEthernet 0/3 at 8:00 on working days every week.
[Firewall-job-pc3] time 1 repeating at 8:00 week-day mon tue wed thu fri command undo
shutdown
# Configure the firewall to shut down GigabitEthernet 0/3 at 18:00 on working days every week.
[Firewall-job-pc3] time 2 repeating at 18:00 week-day mon tue wed thu fri command shutdown
[Firewall-job-pc3] quit
# Display information about scheduled jobs.
[Firewall] display job
Job name: pc1
Specified view: GigabitEthernet0/1
Time 1: Execute command undo shutdown at 08:00 Mondays Tuesdays Wednesdays Thursdays
Fridays
Time 2: Execute command shutdown at 18:00 Mondays Tuesdays Wednesdays Thursdays Fridays
Job name: pc2
Specified view: GigabitEthernet0/2
Time 1: Execute command undo shutdown at 08:00 Mondays Tuesdays Wednesdays Thursdays
Fridays
Time 2: Execute command shutdown at 18:00 Mondays Tuesdays Wednesdays Thursdays Fridays
Job name: pc3
Specified view: GigabitEthernet0/3
Time 1: Execute command undo shutdown at 08:00 Mondays Tuesdays Wednesdays Thursdays
Fridays
Time 2: Execute command shutdown at 18:00 Mondays Tuesdays Wednesdays Thursdays Fridays
Setting the port status detection timer
Some protocols might shut down ports under specific circumstances. For example, MSTP shuts down a
BPDU guard–enabled port when the port receives a BPDU. In this case, you can set the port status
detection timer. If the port is still down when the detection timer expires, the protocol module
automatically cancels the shutdown action and restores the port to its original physical status.
Comentarios a estos manuales