Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:dpi:dpi_options:opt_priority:priority_settings:start [2024/04/10 15:36] – elena.krasnobryzh | en:dpi:dpi_options:opt_priority:priority_settings:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Configuration ====== | ||
| - | {{indexmenu_n> | ||
| - | =====Configuring DSCP markup in IP/ | ||
| - | The option is configured or disabled by editing the configuration file **/ | ||
| - | |||
| - | <note warning> | ||
| - | |||
| - | Enable prioritizing markup of a traffic on level: | ||
| - | |||
| - | < | ||
| - | set_packet_priority=1 | ||
| - | </ | ||
| - | |||
| - | * 1 - IP header | ||
| - | * 2 - VLAN/QinQ header | ||
| - | * 3 - MPLS header | ||
| - | |||
| - | |||
| - | <note important> | ||
| - | |||
| - | Configuration parameters from [[en: | ||
| - | |||
| - | ===== Configuring DSCP Inheritance and Conversion ===== | ||
| - | <note important> | ||
| - | It is configured in the ''/ | ||
| - | <code bash> | ||
| - | forward_packet_priority=< | ||
| - | </ | ||
| - | Bit masks: | ||
| - | * Depending on the direction: | ||
| - | * 1 — conversion is applied to outbound traffic (subs-> | ||
| - | * 2 — conversion is applied to outbound traffic (inet-> | ||
| - | * Depending on the objects of conversion: | ||
| - | * 4 — Conversion between VLAN and IP | ||
| - | * 8 — IP to IP conversion | ||
| - | |||
| - | If no conversion file is specified (no ''/ | ||
| - | If a conversion file is specified, a priority conversion is performed according to the rules specified in the file. | ||
| - | |||
| - | ====Setting the priority conversion file==== | ||
| - | <code bash> | ||
| - | 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 / | ||
| - | </ | ||