#### Traffic classes

This page contain the list of registered traffic classes with the interface for creating, removing, or editing them. A traffic class can be removed only if it is not used at the moment. Otherwise, in the first place it is necessary to remove all entities (services, etc.) that refer to it. Once a traffic class is removed, the traffic belonging to it would pass for unidentified in the control center reports. At the same time, in the web interface reports the removed traffic class would continue to show up as existing.

Below is the list of traffic class parameters and their meanings:

- Class ID is a mandatory parameter. The numbers should be selected in such a way that the numbers of child classes would be higher than that of their parent class.
- Traffic class name is a mandatory parameter.
- Don’t save check box disables saving of raw traffic data files, if checked. May be worthwhile to set for the free traffic or in other cases when the detailed information is unlikely to ever become necessary.

| Format of the raw traffic data files has been altered in UTM5.3-001, so that the files saved in earlier UTM5 versions can no longer be read.

- Time range limits the traffic class existence with the given time range, if selected.
- Graph color is the color to represent the traffic of this class in the graphic reports.
- Display enables display of this class in the graphic reports.
- Fill in sets fill style for the graph reports.

Besides that, the traffic classes page contains interface for working with subclasses. The interface consists of the following buttons.

- Add a new subclass;
- Edit the selected subclass;
- Remove the selected subclass;
- Export all subclasses of the given class as a CSV or XML file with following contents.

- For CSV: each subclass is described on a single line. Properties’ values are separated with semicolons, and each line ends with a semicolon. Names of the properties are listed in the first line.
- For XML: the root tag is `UTM_export`. Each subclass is described in a separate instance of the `row` tag. Inside it there is the tag `row_id` followed by the subclass properties, each wrapped in its own dedicated tag, in the same order as in the CSV file.

- Import imports a CSV or XML file of similar format and attaches all retrieved subclasses to the given class.

##### Traffic subclasses

Traffic subclass is characterized by the following parameters:

- For the source or destination:

- Network address and mask (mandatory, may be entered as IPv4 or IPv6,

  If Skip is checked, the affiliation with subclass is interpreted negatively in the classification, i.e. it means that the traffic does not belong to the given class and needs to be checked against other classes. This may be useful if some address or a group of addresses needs to be pick out as a separate class.