国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

FortiOS Traffic Shaping and How it Work

2019-11-04 23:56:55
字體:
來源:轉載
供稿:網友

Every FortiGate physical interface has its own queues, FortiOS uses three different ones: high, medium, and low PRiority. The priority value indicates which queue the packet is added to and in what order the packets exit that interface.

Virtual interfaces (for example, VLANs) share the physical interface queues. Virtual interfaces do not have their own queues. All virtual interfaces bound to a particular physical interface will share the same queues of the physical interface.

Inter-VDOM links have a single FIFO (First in, first out) queue (No QoS or traffic shaping).

When the packet is queued it chooses a queue and checks the queue length against the aggregate queue size for the interface, not the length of that particular queue.

There is a single maximum length on the device, but each queue can have up to that many packets.

So, if the queue length is X there can be 3X packets queued, X packets at each of the 3 priorities.

Thus the low priority traffic does not affect the high priority traffic except indirectly on low end units because memory is tight and the more packets that are allocated the more time it takes to find free memory.

How priority is assigned :

  1. All traffic received from a device defaults to the system default. The default is "high" (see tos-based-priority in config system global).
  2. During input processing the priority is re-calculated based on the TOS (Type of Service) bits and the current TOS setting. The default maps all traffic to the high priority. This can be changed using config system tos-based-priority. You can check the default setting using a diagnose command :-

    # diag sys tos-based-priority list
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    Where 0 means high, 1 means medium and 2 means low. For example, if I change the global default :

    # config system global
    (global)# set tos-based-priority low
    (global)# end

    # diag sys tos-based-priority list
    2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2

  3. If traffic shaping is enabled then the packet priority is set to whatever value is in the shaper configuration. However, if the packet does not push the bandwidth over the guaranteed bandwidth for that shaper then the priority is unconditionally set to high (0).

So, even if you give Voip traffic a high priority, unless you change the global default then all the FTP traffic will also be high and be on the same queue. As a result the high priority VoIP traffic can get interrupted by the FTP traffic.

You can change the global priority as described above to fix this problem. You can also adjust the TOS based priority if the traffic has different TOS bits assigned for different traffic types. FortiOS traffic shaping acts more like traffic limiting and the guaranteed bandwidth is a best effort.


By adjusting the priorities as described above, it should be possible to shape traffic to meet your requirements.

進入討論組討論。


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 玉山县| 宿松县| 罗城| 邢台县| 大冶市| 融水| 定陶县| 格尔木市| 武城县| 罗源县| 喀喇| 清原| 井冈山市| 西城区| 班戈县| 裕民县| 大足县| 陆良县| 翼城县| 德兴市| 博乐市| 柘城县| 连州市| 双峰县| 三门峡市| 绥芬河市| 河池市| 惠州市| 锦州市| 金堂县| 张家川| 伊川县| 石城县| 吐鲁番市| 灵武市| 刚察县| 万年县| 惠安县| 乌兰察布市| 榆林市| 四子王旗|