Skip to main content
acp
Staff
Staff
May 12, 2020

Technical Tip: Applying traffic shaping at specific time

  • May 12, 2020
  • 0 replies
  • 1145 views
Description
This article describes how to apply traffic shaping at specific time.

Solution
This feature gives shaping policy the ability to apply different shaping profiles at different times.
Admin can select a one-time schedule, recurring schedule, or schedule group.

Note:
Schedule is not a mandatory setting.
If it is not set, the current date and time are not used to match the traffic.

To configure a traffic shaping policy in the GUI.

1) Go to Policy & Objects -> Traffic Shaping Policy.
2) Create or edit a 'Traffic Shaping Policy'.
3) Enable Schedule and select a schedule option.

 


4) Configure other options and select 'OK'.

To configure a traffic shaping policy in the CLI.
# config firewall schedule recurring
    edit "work-hours"
        set start 07:00
        set end 20:00
        set day monday tuesday wednesday thursday friday
    end
# config firewall shaping-policy
    edit 1
        set name "demo"
        set service "ALL"
        set schedule "work-hours"                                                                     <----- Can select schedule from one-time schedule, recurring schedule or schedule group.
        set dstintf "port1"
        set traffic-shaper "high-priority"
        set traffic-shaper-reverse "high-priority"
        set srcaddr "all"
        set dstaddr "all"
    end
To troubleshoot a traffic shaping policy in the CLI.

The selected schedule is listed in the iprope.
# diagnose firewall iprope list 100015
policy index=1 uuid_idx=0 action=accept
flag (0):  schedule(work-hours)                                                                       <----- Applied schedule.
shapers: orig=high-priority(2/0/134217728) reply=high-priority(2/0/134217728) cos_fwd=0  cos_rev=0

Related Articles

Technical Tip: Applying traffic shaping at specific time