Configuration procedure – H3C Technologies H3C SecBlade LB Cards User Manual

Page 82

Advertising
background image

72

Configuration procedure

# Enter system view.

<LB> system-view

# Create a job named pc1, and enter its view.

[LB] job pc1

# Configure the job to be executed in the view of GigabitEthernet 0/1.

[LB-job-pc1] view gigabitethernet 0/1

# Configure the LB product to enable GigabitEthernet 0/1 at 8:00 on working days every week.

[LB-job-pc1] time 1 repeating at 8:00 week-day mon tue wed thu fri command undo shutdown

# Configure the LB product to shut down GigabitEthernet 0/1 at 18:00 on working days every week.

[LB-job-pc1] time 2 repeating at 18:00 week-day mon tue wed thu fri command shutdown

[LB-job-pc1] quit

# Create a job named pc2, and enter its view.

[LB] job pc2

# Configure the job to be executed in the view of GigabitEthernet 0/2.

[LB-job-pc2] view gigabitethernet 0/2

# Configure the LB product to enable GigabitEthernet 0/2 at 8:00 on working days every week.

[LB-job-pc2] time 1 repeating at 8:00 week-day mon tue wed thu fri command undo shutdown

# Configure the LB product to shut down GigabitEthernet 0/2 at 18:00 on working days every week.

[LB-job-pc2] time 2 repeating at 18:00 week-day mon tue wed thu fri command shutdown

[LB-job-pc2] quit

# Create a job named pc3, and enter its view.

[LB] job pc3

# Configure the job to be executed in the view of GigabitEthernet 0/3.

[LB-job-pc3] view gigabitethernet 0/3

# Configure the LB product to enable GigabitEthernet 0/3 at 8:00 on working days every week.

[LB-job-pc3] time 1 repeating at 8:00 week-day mon tue wed thu fri command undo shutdown

# Configure the LB product to shut down GigabitEthernet 0/3 at 18:00 on working days every week.

[LB-job-pc3] time 2 repeating at 18:00 week-day mon tue wed thu fri command shutdown

[LB-job-pc3] quit

# Display information about scheduled jobs.

[LB] display job

Job name: pc1

Specified view: gigabitethernet 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: gigabitethernet 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

Advertising
This manual is related to the following products: