linux qos red队列参数,基于队列的QoS子接口调用注意事项

1.若是子接口,则接口需要使能LR功能以保证CBQ队列功能生效,同时需要配置qos max-bandwidth命令以提供CBQ计算的基准带宽。

2.qos max-bandwidth基准带宽仅80%用于流行为里面的限速,即基准带宽乘以0.8需大于等于流行为里限速的叠加(本案例即2250x0.8大于等于(1500+125+125+50))不满足则会报错,比如配置2048。

3.在未配置子接口基准带宽条件下,计算CBQ时实际使用的基准带宽取值为0Kbps,如:

traffic behavior 1

queue af bandwidth pct 5

#

interface

GigabitEthernet0/0/0.100

vlan-type dot1q vid 100

qos lr outbound cir 100 cbs 6225 ebs 0

qos apply policy 1 outbound

#

[SR6602X-1]dis qos poli int g

0/0/0.100

Interface: GigabitEthernet0/0/0.100

Direction: Outbound

Policy: 1

Classifier: default-class

Matched : 0(Packets) 0(Bytes)

5-minute statistics:

Forwarded: 0/0 (pps/bps)

Dropped: 0/0 (pps/bps)

Rule(s) : If-match any

Behavior: be

Default Queue:

Flow Based Weighted Fair Queuing

Max number of hashed queues: 256

Matched: 0/0 (Packets/Bytes)

Enqueued : 0/0 (Packets/Bytes)

Discarded: 0/0 (Packets/Bytes)

Discard Method: Tail

Classifier: 1

Matched : 0(Packets) 0(Bytes)

5-minute statistics:

Forwarded: 0/0 (pps/bps)

Dropped: 0/0 (pps/bps)

Operator: AND

Rule(s) : If-match acl 3000

Behavior: 1

Assured Forwarding:

Bandwidth 0 (bps)

Matched: 0/0 (Packets/Bytes)

Enqueued : 0/0 (Packets/Bytes)

Discarded: 0/0 (Packets/Bytes)

Discard Method: Tail

[SR6602X-1]int g 0/0/0.100

[SR6602X-1-GigabitEthernet0/0/0.100]qos

max-bandwidth 5000

[SR6602X-1-GigabitEthernet0/0/0.100]dis

this

#

interface

GigabitEthernet0/0/0.100

vlan-type dot1q vid 100

qos max-bandwidth 5000

qos lr outbound cir 100 cbs 6225 ebs 0

qos apply policy 1 outbound

#

return

[SR6602X-1-GigabitEthernet0/0/0.100]qui

[SR6602X-1]dis qos poli int g

0/0/0.100

Interface: GigabitEthernet0/0/0.100

Direction: Outbound

Policy: 1

Classifier: default-class

Matched : 0(Packets) 0(Bytes)

5-minute statistics:

Forwarded: 0/0 (pps/bps)

Dropped: 0/0 (pps/bps)

Rule(s) : If-match any

Behavior: be

Default Queue:

Flow Based Weighted Fair Queuing

Max number of hashed queues: 256

Matched: 0/0 (Packets/Bytes)

Enqueued : 0/0 (Packets/Bytes)

Discarded: 0/0 (Packets/Bytes)

Discard Method: Tail

Classifier: 1

Matched : 0(Packets) 0(Bytes)

5-minute statistics:

Forwarded: 0/0 (pps/bps)

Dropped: 0/0 (pps/bps)

Operator: AND

Rule(s) : If-match acl 3000

Behavior: 1

Assured Forwarding:

Bandwidth 200 (kbps)

Matched: 0/0 (Packets/Bytes)

Enqueued : 0/0 (Packets/Bytes)

Discarded: 0/0 (Packets/Bytes)

Discard Method: Tail

4.流行为中配置实际带宽或者pct百分比注意事项是一样的。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值