Qos bandwidth percent (ZT)

To be able to verify the potential differences between 12.2 and 12.3 I
upgraded one of my routers to 12.3(6) mainline:

R3#sh ver
Cisco Internetwork Operating System Software IOS (tm) 3600 Software (C3640-IS-M), Version 12.3(6), RELEASE SOFTWARE(fc3)<snip>

I subsequently configured a service policy on a regular ethernet
interface and started assigning bandwidth percentages to some classes:

R3(config)#policy-map TEST
R3(config-pmap)#exit
R3(config)#int e 0/0
R3(config-if)#service-policy output TEST
R3(config-if)#exit
R3(config)#class-map CLASS-1
R3(config-cmap)#match access-group 1
R3(config-cmap)#class-map CLASS-2
R3(config-cmap)#match access-group 2
R3(config-cmap)#class-map CLASS-3
R3(config-cmap)#match access-group 3
R3(config-cmap)#class-map CLASS-4
R3(config-cmap)#match access-group 4
R3(config-cmap)#policy-map TEST
R3(config-pmap)#class CLASS-1
R3(config-pmap-c)#bandwidth ?
<8-2000000> Kilo Bits per second
percent % of total Bandwidth
remaining % of the remaining bandwidth

R3(config-pmap-c)#bandwidth percent 50
R3(config-pmap-c)#class CLASS-2
R3(config-pmap-c)#bandwidth percent 15
R3(config-pmap-c)#class CLASS-3
R3(config-pmap-c)#bandwidth percent 10
R3(config-pmap-c)#class CLASS-4
R3(config-pmap-c)#bandwidth percent 10
I/f Ethernet0/0 class CLASS-4 requested bandwidth 10%, available only
0%
R3(config-pmap-c)#^Z
R3#

As you can see the router now prevents me from assigning more than 75%
in total because the percentage now refers to the TOTAL bandwidth, not
the available bandwidth.

You can also see that very clearly from the show commands:

R3#sh policy-map int e 0/0
Ethernet0/0

Service-policy output: TEST

Class-map: CLASS-1 (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 1
Queueing
Output Queue: Conversation 265
Bandwidth 50 (%)
Bandwidth 5000 (kbps) Max Threshold 64 (packets)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0

Class-map: CLASS-2 (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 2
Queueing
Output Queue: Conversation 266
Bandwidth 15 (%)
Bandwidth 1500 (kbps) Max Threshold 64 (packets)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0

Class-map: CLASS-3 (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 3
Queueing
Output Queue: Conversation 267
Bandwidth 10 (%)
Bandwidth 1000 (kbps) Max Threshold 64 (packets)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0

Class-map: CLASS-4 (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps
Match: access-group 4

Class-map: class-default (match-any)
71 packets, 6750 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
R3#

It simply states that 15% equals 1500 kbps, since on this IOS version
the bandwidth percentage refers to the TOTAL bandwidth, while the new
command 'bandwidth remaining percent' is relative to the AVAILABLE
bandwidth.

So I guess that there is actually a difference in the operation of the
'bandwidth percent' command depending on the IOS version.

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值