美文网首页
VIPqos查看tc设置

VIPqos查看tc设置

作者: Foreally | 来源:发表于2019-11-29 19:53 被阅读0次

    查看网络的namespace:

    [root@172-24-249-178 ~]# ip netns
    br_eth0_172_24_17_252 (id: 1)
    br_eth0_1105_4e8f9b786fa34753a9a345e1c111fc46 (id: 0)
    

    查看namespace的tc qdisc

    [root@172-24-249-178 ~]# ip netns exec br_eth0_172_24_17_252  tc qdisc show
    qdisc htb 1: dev 68e6b1b6d_ei root refcnt 2 r2q 10 default 1 direct_packets_stat 0 direct_qlen 1000
    qdisc sfq 800c: dev 68e6b1b6d_ei parent 1:2 limit 127p quantum 1514b depth 127 divisor 1024 
    qdisc sfq 800b: dev 68e6b1b6d_ei parent 1:1 limit 127p quantum 1514b depth 127 divisor 1024 
    qdisc htb 1: dev 68e6b1b6d_i root refcnt 2 r2q 10 default 1 direct_packets_stat 0 direct_qlen 1000
    qdisc sfq 800a: dev 68e6b1b6d_i parent 1:2 limit 127p quantum 1514b depth 127 divisor 1024 
    qdisc sfq 8009: dev 68e6b1b6d_i parent 1:1 limit 127p quantum 1514b depth 127 divisor 1024 
    

    查看namespace下面的速率设置

    [root@172-24-249-178 ~]# ip netns exec br_eth0_172_24_17_252  tc class show dev 68e6b1b6d_ei
    class htb 1:1 root leaf 800b: prio 0 rate 10737Mbit ceil 10737Mbit burst 0b cburst 0b 
    class htb 1:2 root leaf 800c: prio 0 rate 1048Kbit ceil 1048Kbit burst 15735b cburst 15735b 
    

    相关文章

      网友评论

          本文标题:VIPqos查看tc设置

          本文链接:https://www.haomeiwen.com/subject/jrzgwctx.html