H3C Technologies H3C S3100 Series Switches User Manual

Page 837

Advertising
background image

5-3

[Switch] job phone1

# Configure the view where the specified command to be executed as Ethernet interface view.

[Switch-job-phone1] view Ethernet1/0/2

# Configure the scheduled task so that PoE can be enabled on Switch at eight AM from Monday to

Friday.

[Switch-job-phone1] time 1 repeating at 8:00 week-day Mon Tue Wed Thu Fri command poe enable

# Configure the scheduled task so that PoE can be disabled on Switch at six PM from Monday to Friday.

[Switch-job-phone1] time 2 repeating at 18:00 week-day Mon Tue Wed Thu Fri command undo poe

enable

# Create scheduled task phone2, phone3, and Configure the scheduled task so that PoE 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 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

[Switch]

Advertising