找回密码
 注册

QQ登录

只需一步,快速开始

搜索
楼主: mhjdg

[其它] 有看得懂官方的这幅图的高手吗

[复制链接]
发表于 2008-1-22 17:25:06 | 显示全部楼层
呵呵,为什么楼主还不给我们讲解这个图呢
routeros
回复

使用道具 举报

发表于 2008-1-27 02:22:52 | 显示全部楼层
这个图是htb限速方式的处理方式的讲解图
queuing discipline (qdisc) - an algorithm that holds and maintains a queue of packets. It specifies the order of the outgoing packets (it means that queuing discipline can reorder packets). Qdisc also decides which packets to drop if there is no space for them
filter - a procedure that classifies packets. The filter is responsible for classifying packets so that they are put in the corresponding qdiscs
level - position of a class in the hierarchy
inner class - a class that has one or more child-classes attached to it. Inner classes do not store any packets, but they do traffic shaping. The class also does not have its own priority
leaf class - a class that has a parent but does not have any child-classes. Leaf classes are always located at level 0 of the hierarchy. Each leaf class has a qdisc, attached to it
self feed - an object that represents the exit for the packets from all the classes active at its level of the hierarchy. It consists of 8 self slots
self slot - an element of a self feed that corresponds to each particular priority. All classes, active at the same level, of one priority are attached to one self slot that they are using to send packets out through
active class (at a particular level) - a class that is attached to a self slot at the given level
inner feed - similar to self feed object, which consists of inner self slots, present on each inner class
inner feed slot - similar to self slot. Each inner feed consists of inner slots which represent a priority

是具体的说明,,,

我在网吧的应用,
/ queue tree
add name="HTB        " parent=Local-Lan-Gateway packet-mark="" limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
add name="ICMP" parent=HTB         packet-mark=icmp-mark-packet limit-at=0 queue=default priority=1 max-limit=0 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
add name="            " parent=HTB         packet-mark=games-mark-packet limit-at=0 queue=default priority=1 max-limit=0 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
add name="        " parent=HTB         packet-mark="" limit-at=0 queue=default priority=8 max-limit=5000000 burst-limit=0 burst-threshold=0 burst-time=0s \
    disabled=no
add name="        " parent=HTB         packet-mark="" limit-at=0 queue=default priority=8 max-limit=9000000 burst-limit=0 burst-threshold=0 burst-time=0s \
    disabled=no
add name="    FTP" parent=         packet-mark=tel-ftp-mark-packet limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
add name="    http" parent=         packet-mark=tel-http-mark-packet limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
add name="    http" parent=         packet-mark=cnc-http-mark-packet limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
add name="        " parent=         packet-mark=cnc-rstp-mark-packet limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
add name="    QQ    " parent=         packet-mark=cnc-qqlive-mark-packet limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
add name="        " parent=         packet-mark=cnc-xunlei-mark-packet limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
add name="adsl    http" parent=HTB         packet-mark=adsl-http-mark-packet limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 \
    burst-threshold=0 burst-time=0s disabled=no
add name="        " parent=         packet-mark=tel-rstp-mark-packet limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
add name="    P2P" parent=         packet-mark=cnc-p2p-mark-packet limit-at=0 queue=default priority=8 max-limit=0 burst-limit=0 burst-threshold=0 \
    burst-time=0s disabled=no
routeros
回复

使用道具 举报

发表于 2008-1-27 02:23:56 | 显示全部楼层
简单的说,就是标记后分别限速
简单的说只要可以标记连接的东西,都可以限制其速度。
routeros
回复

使用道具 举报

发表于 2008-1-27 02:24:18 | 显示全部楼层
我是这样理解的饿
routeros
回复

使用道具 举报

发表于 2008-1-27 18:55:42 | 显示全部楼层
真是高人,解释的都看不懂
太专业了啊
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-9-28 09:23 , Processed in 0.091879 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表