Trafic control large block Diagram (HTB)

Source: Internet
Author: User

10.1. General diagram

Below is a general diagram of the relationships of the components of a classful queuing discipline (HTB pictured). A larger version of the diagram is available.

Example 11. An example HTB tcng Configuration

/* * Possible mock up of diagram shown at * http://linux-ip.net/traffic-control/htb-class.png * */$m _web = TRTCM (                 CIR Kbps,/* commited information rate */CBS Ten KB,/* Burst for CIR */ PIR 1024x768,/* Peak Information Rate */PBS KB/* Burst for PIR */);d E        V eth0 {egress {class (< $web >) if Tcp_dport = = Port_http && __trtcm_green ($m _web);        Class (< $bulk >) if Tcp_dport = = Port_http && __trtcm_yellow ($m _web);        Drop if __trtcm_red ($m _web);        Class (< $bulk >) if tcp_dport = = Port_ssh; HTB () {/* Root Qdisc */class (Rate 1544kbps, ceil 1544kbps) {/* Root class */$web = CL                (Rate 512kbps, Ceil 512kbps) {sfq;};            $bulk = Class (Rate 512kbps, Ceil 1544kbps) {sfq;};       }        }    }}

http://tldp.org/HOWTO/Traffic-Control-HOWTO/

Trafic control large block Diagram (HTB)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.