HP 6125XLG R2306-HP 6125XLG Blade Switch Fundamentals Configuration Guide - Page 113

Verifying the scheduling

Page 113 highlights

[Sysname-job-start-ten-gigabitethernet1/1/6] command 1 system-view [Sysname-job-start-ten-gigabitethernet1/1/6] command 2 interface ten-gigabitethernet1/1/6 [Sysname-job-start-ten-gigabitethernet1/1/6] command 3 undo shutdown [Sysname-job-start-ten-gigabitethernet1/1/6] 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/1/5 [Sysname-schedule-START-pc1/pc2] job start-ten-gigabitethernet1/1/6 [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/1/5 [Sysname-schedule-STOP-pc1/pc2] job shutdown-ten-gigabitethernet1/1/6 [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/1/5 system-view interface ten-gigabitethernet1/1/5 shutdown Job name: shutdown-ten-gigabitethernet1/1/6 system-view interface ten-gigabitethernet1/1/6 shutdown Job name: start-ten-gigabitethernet1/1/5 system-view interface ten-gigabitethernet1/1/5 undo shutdown Job name: start-ten-gigabitethernet1/1/6 system-view interface ten-gigabitethernet1/1/6 undo shutdown # Display the schedule information. [Sysname] display scheduler schedule Schedule name : START-pc1/pc2 Schedule type : Run on every Mon Tue Wed Thu Fri at 08:00:00 Start time : Wed Sep 28 08:00:00 2011 Last execution time : Wed Sep 28 08:00:00 2011 Last completion time : Wed Sep 28 08:00:03 2011 Execution counts : 1 106

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155

106
[Sysname-job-start-ten-gigabitethernet1/1/6] command 1 system-view
[Sysname-job-start-ten-gigabitethernet1/1/6] command 2 interface
ten-gigabitethernet1/1/6
[Sysname-job-start-ten-gigabitethernet1/1/6] command 3 undo shutdown
[Sysname-job-start-ten-gigabitethernet1/1/6] 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/1/5
[Sysname-schedule-START-pc1/pc2] job start-ten-gigabitethernet1/1/6
[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/1/5
[Sysname-schedule-STOP-pc1/pc2] job shutdown-ten-gigabitethernet1/1/6
[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/1/5
system-view
interface ten-gigabitethernet1/1/5
shutdown
Job name: shutdown-ten-gigabitethernet1/1/6
system-view
interface ten-gigabitethernet1/1/6
shutdown
Job name: start-ten-gigabitethernet1/1/5
system-view
interface ten-gigabitethernet1/1/5
undo shutdown
Job name: start-ten-gigabitethernet1/1/6
system-view
interface ten-gigabitethernet1/1/6
undo shutdown
# Display the schedule information.
[Sysname] display scheduler schedule
Schedule name
: START-pc1/pc2
Schedule type
: Run on every Mon Tue Wed Thu Fri at 08:00:00
Start time
: Wed Sep 28 08:00:00 2011
Last execution time
: Wed Sep 28 08:00:00 2011
Last completion time : Wed Sep 28 08:00:03 2011
Execution counts
: 1