|
1 # Path: c:\qospolicieslegacy.ini |
|
2 extension_spec apn1 = { |
|
3 INTEGER type = 5 |
|
4 INTEGER extension_type = 5 |
|
5 INTEGER TrafficClassRequested = 1 |
|
6 INTEGER TransferDelayRequested = 500 |
|
7 INTEGER GuaBitrateDownlinkRequested = 2048 |
|
8 INTEGER GuaBitrateUplinkRequested = 1024 |
|
9 INTEGER HeaderCompressionRequested = 1 |
|
10 } |
|
11 |
|
12 # Default APN should always be specified! |
|
13 extension_spec default = { |
|
14 INTEGER type = 5 |
|
15 INTEGER extension_type = 5 |
|
16 INTEGER TrafficClassRequested = 4 |
|
17 INTEGER MaxBitrateUplinkRequested = 2048 |
|
18 INTEGER MaxBitrateDownlinkRequested = 2048 |
|
19 INTEGER GuaBitrateUplinkRequested = 1024 |
|
20 INTEGER GuaBitrateDownlinkRequested = 1024 |
|
21 INTEGER HeaderCompressionRequested = 1 |
|
22 } |
|
23 |
|
24 extension_spec rest = { |
|
25 INTEGER type = 5 |
|
26 INTEGER extension_type = 5 |
|
27 INTEGER TrafficClassRequested = 3 |
|
28 INTEGER MaxBitrateUplinkRequested = 2048 |
|
29 INTEGER MaxBitrateDownlinkRequested = 2048 |
|
30 INTEGER GuaBitrateUplinkRequested = 1024 |
|
31 INTEGER GuaBitrateDownlinkRequested = 1024 |
|
32 INTEGER HeaderCompressionRequested 1 |
|
33 } |
|
34 |
|
35 |
|
36 # FlowSpecs |
|
37 |
|
38 flowspec spec1 = { |
|
39 INTEGER uplink_bandwidth = 1024 |
|
40 INTEGER uplink_maximum_burst_size = 896 |
|
41 INTEGER uplink_maximum_packet_size = 768 |
|
42 INTEGER uplink_average_packet_size = 0 |
|
43 INTEGER uplink_delay = 0 |
|
44 INTEGER uplink_priority = 3 |
|
45 INTEGER downlink_bandwidth = 1025 |
|
46 INTEGER downlink_maximum_burst_size = 897 |
|
47 INTEGER downlink_maximum_packet_size = 769 |
|
48 INTEGER downlink_average_packet_size = 1 |
|
49 INTEGER downlink_delay = 1 |
|
50 INTEGER downlink_priority = 4 |
|
51 STRING name = myFlow |
|
52 } |
|
53 |
|
54 # Selectors |
|
55 extension_policy protocol 6 priority 1 = { apn1 } |
|
56 extension_policy dst_port 80 priority 1 = { apn1 } |
|
57 extension_policy dst_port 21 priority 1 = { rest } |
|
58 extension_policy dst_port 20 priority 1 = { rest } |
|
59 extension_policy src_port 0 src_port_max 65535 priority 1 = { default } |
|
60 |
|
61 ## next selector is faulty by default. This is used to check that selector |
|
62 ## after this are read correctly |
|
63 flowspec_policy protokolla 17 priority 1 = { spec1 } |
|
64 |
|
65 ## correct selectors |
|
66 flowspec_policy protocol 17 priority 1 = { spec1 } |
|
67 flowspec_policy protocol 6 priority 1 = { spec1 } |