The option is configured or disabled by editing the configuration file /etc/dpi/fastdpi.conf.
Enable prioritizing markup of a traffic on level:
set_packet_priority=1
Configuration parameters from Assignment of priorities are sufficient for internal DPI usage.
set_packet_priority
— he's a priority..
It is configured in the /etc/dpi/fastdpi.conf
configuration file.
forward_packet_priority=<bitmask>
Bit masks:
If no conversion file is specified (no /etc/dpi/dscpfrw.bin
file), VLAN↔IP conversion is performed without conversion, i.e. the priority that was in the header (3 bits) is transferred to the other header (IP or VLAN) as it is.
If a conversion file is specified, a priority conversion is performed according to the rules specified in the file.
vi test.txt in cs0 cs1 in cs1 cs2 in cs2 keep in default cs3 out default keep out 0x1 0x2 out 0x2 0x3 out cs0 0x3F cat test.txt|forw2dscp test.bin cp test.bin /etc/dpi/dscpfrw.bin