Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
zazry
New Contributor

Traffic Shaping for chosen Policy

Hi,

 

I'm new here and just learning on the product Fortigate 60E. My goal is to create a policy for mobile/tablets to control the website user access and do traffic shaping in order to control the bandwidth usage. How do you create traffic shaper and link to that policy? Is there any way to create traffic shaper and link to specific policy?

 

Zazry

1 REPLY 1
sw2090
SuperUser
SuperUser

You can create traffic shapers via the gui in "Policy&Objects" => "Traffic Shapers". 

Unfortunately Fortinet removed the gui options to link a shaper to a policy in FortiOS 5.4. 

Fortunately those are still available on cli.

So create your shapers in gui and then edit your policy in cli and add them to the policy.

 

In older FortiOSes it was possible to add a shaper to a policy in gui but not in 5.4 or higher.

 

Cli woud be like:

 

config system policy

edit <id> (you have to add this column to see it in gui - what is shown by default in gui is not the id!)

set traffic-shaper "<the name you gave the shaper>" (for a forward shaper)

set traffic-shaper-reverse "<the name you gave the shaper>" (for a reverse shaper)

next

end

 

BTW: once you added the shapers in cli they do reappear in gui in your pollicy ;)

 

hth

Sebastian

-- 

"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams

-- "It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors