Chapter 17 Traffic Shaping for FortiOS 5.0 : Traffic shaping methods : Application control shaping : Example
  
Example
This example sets the traffic shaping definition for Facebook to a medium priority, a default traffic shaper.
To add traffic shaping for Facebook - web-based manager
1. Go to Security Profiles > Application Control > Application Sensors.
2. Select the Create New “Plus” icon in the upper right corner of the screen to create a new application group, and enter the name Web.
3. Select OK.
4. Select Create New.
5. Deselect the check box for Category to unselect all categories and select Social.Networking.
6. Select Traffic Shaping and select medium-priority from the drop-down list.
7. Select OK.
To add traffic shaping for Facebook - CLI
config application list
edit web
config entries
edit 1
set category 23
set application 17735
set action pass
set shaper medium-priority
end
end
end