Configuration procedure – H3C Technologies H3C S3600 Series Switches User Manual
Page 1028
5-3
Configuration procedure
# Create scheduled task pc1, and enter scheduled task view.
[Switch] job pc1
# Configure the view where the specified command to be executed as Ethernet interface view.
[Switch-job-pc1] view Ethernet1/0/1
# Configure the scheduled task so that the Ethernet port can be enabled on Switch at eight AM from
Monday to Friday.
[Switch-job-pc1] time 1 repeating at 8:00 week-day Mon Tue Wed Thu Fri command undo shutdown
# Configure the scheduled task so that the Ethernet port can be disabled on Switch at six PM from
Monday to Friday.
[Switch-job-pc1] time 2 repeating at 18:00 week-day Mon Tue Wed Thu Fri command shutdown
[Switch-job-pc1] quit
# Create scheduled task phone2, phone3, and Configure the scheduled task so that the Ethernet port
can be enabled on Switch at eight AM from Monday to Friday.
[Switch] job pc2
[Switch-job-pc2] view Ethernet1/0/2
[Switch-job-pc2] time 1 repeating at 8:00 week-day Mon Tue Wed Thu Fri command undo shutdown
[Switch-job-pc2] time 2 repeating at 18:00 week-day Mon Tue Wed Thu Fri command shutdown
[Switch-job-pc2] quit
[Switch] job pc3
[Switch-job-pc3] view Ethernet1/0/3
[Switch-job-pc3] time 1 repeating at 8:00 week-day Mon Tue Wed Thu Fri command undo shutdown
[Switch-job-pc3] time 2 repeating at 18:00 week-day Mon Tue Wed Thu Fri command shutdown
[Switch-job-pc3] quit
# Display the information about the scheduled task.
[Switch] display job
Job name: pc1
Specified view: Ethernet1/0/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: Ethernet1/0/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: Ethernet1/0/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