Traffic shaping schedules
In a shaping policy, there are many matching criteria available for administrators to match a specific traffic and apply a traffic shaper or shaping group to the traffic, including using schedules. This feature gives shaping policy the ability to apply different shaping profiles at different times. Administrators can select a one-time schedule, recurring schedule, or schedule group.
Schedule is not a mandatory setting. If it is not set, then the current date and time are not used to match the traffic.
To configure a traffic shaping policy in the GUI:
- Navigate to Policy & Objects > Traffic Shaping Policy.
- Create or edit a Traffic Shaping Policy.
- Enable Schedule and select a schedule option.
- Configure other options and click 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 next 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" next end
To troubleshoot a traffic shaping policy in the CLI:
The selected schedule is listed in the
dia firewall iprope list 100015 policy index=1 uuid_idx=0 action=accept flag (0): schedule(work-hours) shapers: orig=high-priority(2/0/134217728) reply=high-priority(2/0/134217728) cos_fwd=0 cos_rev=0 group=00100015 av=00000000 au=00000000 split=00000000 host=1 chk_client_info=0x0 app_list=0 ips_view=0 misc=0 dd_type=0 dd_mode=0 zone(1): 0 -> zone(1): 9 source(1): 0.0.0.0-255.255.255.255, uuid_idx=28, dest(1): 0.0.0.0-255.255.255.255, uuid_idx=28, service(1): [0:0x0:0/(0,65535)->(0,65535)] helper:auto