You can configure traffic class IDs with a descriptive name in the GUI or CLI. Class IDs can help you correlate traffic shaping policy and profile entries.
Within the GUI, there are three locations to configure the traffic class ID:
Assign Shaping Class ID replaces the Assign Group functionality in earlier versions of FortiOS.
- Go to Policy & Objects > Traffic Shaping, select the Traffic Shaping Policies tab.
- Edit an existing policy, or create a new one.
- In the Then: Action section, click Assign Shaping Class ID.
- In Traffic shaping class ID, click Create.
- Enter a value for the ID (integer) and a description for the Name.
- Click OK.
- Select the newly created class ID.
- Configure the rest of the policy as needed.
- Click OK.
- Go to Policy & Objects > Traffic Shaping, select the Traffic Shaping Profiles tab.
- Edit an existing profile, or create a new one.
- In the Traffic Shaping Classes section, click Create New. The Select Traffic Shaping Class ID window opens.
- Click Create to configure a new class ID (see steps in the previous example), or select an existing class ID from the Traffic shaping class ID dropdown.
- Configure the guaranteed bandwidth, maximum bandwidth, and priority settings.
- Click OK to apply the class ID.
- Click OK to save the traffic shaping profile.
- Go to Network > Interfaces.
- Edit an existing interface, or create a new one.
- In the Traffic Shaping section, enable Outbound shaping profile and do one of the following:
- Select an existing profile from the dropdown.
- Click Create to make a new profile and follow the steps in the previous example to configure the profile and class ID.
- Enable Outbound Bandwidth and enter a value.
- Configure the rest of the interface as needed.
- Click OK to save the interface.
config firewall traffic-class edit 2 set class-name "High priority voice" next ... end