HP 5920 series Fundamentals Configuration Manual page 155

Hide thumbs Also See for 5920 series:
Table of Contents

Advertisement

[Sysname-job-start-Ten-GigabitEthernet1/0/2] command 1 system-view
[Sysname-job-start-Ten-GigabitEthernet1/0/2] command 2 interface ten-gigabitethernet
1/0/2
[Sysname-job-start-Ten-GigabitEthernet1/0/2] command 3 undo shutdown
[Sysname-job-start-Ten-GigabitEthernet1/0/2] quit
# Configure a periodic schedule for enabling the interfaces at 8:00 a.m. every Monday through Friday.
[Sysname] scheduler schedule START-pc1/pc2
[Sysname-schedule-START-pc1/pc2] job start-Ten-GigabitEthernet1/0/1
[Sysname-schedule-START-pc1/pc2] job start-Ten-GigabitEthernet1/0/2
[Sysname-schedule-START-pc1/pc2] time repeating at 8:00 week-day mon tue wed thu fri
[Sysname-schedule-START-pc1/pc2] quit
# Configure a periodic schedule for disabling the interfaces at 18:00 every Monday through Friday.
[Sysname] scheduler schedule STOP-pc1/pc2
[Sysname-schedule-STOP-pc1/pc2] job shutdown-Ten-GigabitEthernet1/0/1
[Sysname-schedule-STOP-pc1/pc2] job shutdown-Ten-GigabitEthernet1/0/2
[Sysname-schedule-STOP-pc1/pc2] time repeating at 18:00 week-day mon tue wed thu fri
[Sysname-schedule-STOP-pc1/pc2] quit
Verifying the scheduling
# Display the configuration information of all jobs.
[Sysname] display scheduler job
Job name: shutdown-Ten-GigabitEthernet1/0/1
system-view
interface ten-gigabitethernet 1/0/1
shutdown
Job name: shutdown-Ten-GigabitEthernet1/0/2
system-view
interface ten-gigabitethernet 1/0/2
shutdown
Job name: start-Ten-GigabitEthernet1/0/1
system-view
interface ten-gigabitethernet 1/0/1
undo shutdown
Job name: start-Ten-GigabitEthernet1/0/2
system-view
interface ten-gigabitethernet 1/0/2
undo shutdown
# Display the schedule information.
[Sysname] display scheduler schedule
Schedule name
Schedule type
Start time
Last execution time
Last completion time : Wed Sep 28 08:00:03 2011
Execution counts
: START-pc1/pc2
: Run on every Mon Tue Wed Thu Fri at 08:00:00
: Wed Sep 28 08:00:00 2011
: Wed Sep 28 08:00:00 2011
: 1
147

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents