Skip to main content
elyahyaoui
New Member
January 19, 2018
Question

OS 5.6.2, Traffic Shaping Policy with a schedule ?

  • January 19, 2018
  • 1 reply
  • 6793 views
Hello, In fortiOS 5.6.2, how to link a schedule to a Traffic Shaping Policy ? Thanks

1 reply

taizee
New Member
April 22, 2018

I read a post that said you need to use the CLI to modify the Traffic Shaping policy. You should be able to be able to 

 

set schedule [schedule_name]

 

unfortunately I can't get this to work as I get a parse -61 error

localhost
Visitor III
April 23, 2018

You cannot assign a schedule to a Traffic Shaping Policy. You must use the old method, which was used before FortiOS 5.4:

Create a normal firewall policy. Assign your schedule and use the CLI to activate the shapers.

To activate the shapers, configure the traffic-shaper and probably traffic-shaper-reverse options. 

After CLI options are activated, you'll see the values in the GUI as well.

 

config firewall policy
    edit 57
        set name "Cloud backup Low Speed"
        set srcintf "INTERNAL"
        set dstintf "EXTERNAL"
        set srcaddr "all"
        set dstaddr "VeeamCloud-Backup"
        set action accept
        set schedule "0600-1900"
        set service "VeeamCloud-Backup"
        set utm-status enable
        set logtraffic all
        set profile-type group
        set profile-group "Profile-Monitor-Default"
        set traffic-shaper "Veeam-AT-Low"
        set traffic-shaper-reverse "Veeam-AT-Low"
        set nat enable
    next
end