11-18-2015 09:08 AM - edited 03-05-2019 02:46 AM
I am having trouble finding a definitive answer and could use some guideance. Max-reserved-bandwidth command no longer exists so i'm trying to figure out how to overide standard 75% limit set by Cisco to possibly 80-85% and still leave 15%-20% for overhead
Below is how i want to define my policy map but i want to base it off utilizing 85% and not 75% (in this scenario i have a 1.544Mb circuit) - the numbers in red are the ones if I can increase max-reserved-bandwidth to 85%.
Any insight would be greatly appreciated
policy-map test
class voip
priority percent 25 (25% of 1.544Mb) = 386 kbps
class mission-critical
bandwidth remaining percent 40 (40% of 772kbps) = 308kbps - got this by 1.544*75%=1.158Mbps-.386kbps=772kbps
class interactive
bandwidth remaining percent 15 (15% of 772kbps) = 116kbps
class class-default
bandwidth remaining percent 45 (45% of 772Kbps) = 347kbps
policy-map test
class voip
priority percent 25 (25% of 1.544Mb) = 386 kbps
class mission-critical
bandwidth remaining percent 40 (40% of 926kbps) = 371kbps - got this by 1.544*85%=1.3124Mbps-.386kbps=926kbps
class interactive
bandwidth remaining percent 15 (15% of 926kbps) = 139kbps
class class-default
bandwidth remaining percent 45 (45% of 926Kbps) = 417kbps
Solved! Go to Solution.
11-18-2015 12:27 PM
Hello
Okay take the WAN policy:
policy-map BRANCH-WAN-OUT-Child
class VOIP
set ip precedence 5
priority percent 25
class ERP-WAN
set ip precedence 4
bandwidth percent 40
class Call-control-WAN
set ip precedence 3
bandwidth percent 15
class class-default
bandwidth remaining percent 100
policy-map BRANCH-WAN-OUT-Parent
class class-default
shape average 1312000 (85% of 1544)
service policy BRANCH-WAN-OUT-Child
int x/x
description WAN interface
service-policy out BRANCH-WAN-OUT-Parent
So now the wan interface is shaped at 85% of 1544mb and your child policy is using 100 of that cir
res
paul
11-18-2015 12:30 PM
ok i see, so then my LAN policy which i have applied to my inside interface just goes away?
Also 1 final question, if i didn't want to use 85% of bandwidth but instead went with 99% would i still need that shape command?
11-18-2015 12:38 PM
Hello
Just change the shape value to acommodate your cir rate -
May i ask why just 99% and not 100%
res
Paul
11-18-2015 12:57 PM
I thought i had to leave 1% for class class-default
Am I also correct when i say my policy-map BRANCH-LAN-OUT that is assigned to my inside interface goes away ????
finally this what my QoS will look like:
policy-map BRANCH-WAN-OUT-Child
class VOIP
set ip precedence 5
priority percent 25
class ERP-WAN
set ip precedence 4
bandwidth percent 40
class Call-control-WAN
set ip precedence 3
bandwidth percent 15
class class-default
bandwidth remaining percent 100
policy-map BRANCH-WAN-OUT-Parent
class class-default
shape average 1544000 (100% of 1544)
service policy BRANCH-WAN-OUT-Child
11-18-2015 12:58 PM
I thought i had to leave 1% for class class-default
Am I also correct when i say my policy-map BRANCH-LAN-OUT that is assigned to my inside interface goes away ????
finally this what my QoS will look like:
policy-map BRANCH-WAN-OUT-Child
class VOIP
set ip precedence 5
priority percent 25
class ERP-WAN
set ip precedence 4
bandwidth percent 40
class Call-control-WAN
set ip precedence 3
bandwidth percent 15
class class-default
bandwidth remaining percent 100
policy-map BRANCH-WAN-OUT-Parent
class class-default
shape average 1544000 (100% of 1544)
service policy BRANCH-WAN-OUT-Child
11-18-2015 01:42 PM
Hello
"I thought i had to leave 1% for class class-default" -<----- My understanding it does this by default
Usually I would mark on my Lan interface then classify this traffic on my WAN
One more thing maybe apply some fair queueing on the class-default for some degree for fairness for this traffic, it not a necessity but I forgot to mention it.
policy-map BRANCH-WAN-OUT-Child
class VOIP
set ip precedence 5
priority percent 25
class ERP-WAN
set ip precedence 4
bandwidth percent 40
class Call-control-WAN
set ip precedence 3
bandwidth percent 15
class class-default
fair queue
bandwidth remaining percent 100
res
Paul
11-18-2015 01:48 PM
thanks for all your help Paul
11-19-2015 05:16 AM
Paul, sorry for another question but i havent had much dealings with QoS. What do you mean when you say "mark on the LAN interface"
08-25-2023 06:21 AM - edited 08-25-2023 06:22 AM
somebody here wrote that the max reserved bandwidth is gone but if I take an IOS released in 2019, just to make an example, it is still there.
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/qos_conmgt/configuration/xe-17/qos-conmgt-xe-17-book/qos-conmgt-oview.html
" The default maximum bandwidth is 75 percent of the total available bandwidth on the interface. The remaining 25 percent of bandwidth is used for overhead, including Layer 2 overhead, routing traffic, and best-effort traffic."
08-25-2023 09:02 AM - edited 08-25-2023 09:08 AM
Yea, it does say that. But is that documentation correct? (Much changed with HQF CBWFQ [BTW, overall, I consider post HQF CBWFQ a huge improvement, my only complaint with it was, upgrading an IOS to one using HQF CBWFQ. the same EXACT policy could behave differently. For example, FQ in class-default, pre-HQF was WFQ, but in post-HQF it's just FQ, of course, over the years, Cisco also revised how WFQ computed its weight ratios too, so WFQ to FQ is just an extreme case of that - laugh.]).
On CML:
inserthostname-here>en
inserthostname-here#conf t
Enter configuration commands, one per line. End with CNTL/Z.
inserthostname-here(config)#class-map match-any test
inserthostname-here(config-cmap)#match any
inserthostname-here(config-cmap)#policy-map test
inserthostname-here(config-pmap)#class test
inserthostname-here(config-pmap-c)#bandwidth percent 100
inserthostname-here(config)#int g0/0
inserthostname-here(config-if)#service-policy output test
Insufficient bandwidth 1000000 kbps for the bandwidth percent (100%) guarantee
!This wasn't unexpected - HQF says class-default must always have at least 1%
!I recall (?) in pre-HQF, using max-reserved-bandwidth 100
!you could leave class-default with no bandwidth
inserthostname-here(config-if)#policy-map test
inserthostname-here(config-pmap)#class test
inserthostname-here(config-pmap-c)#bandwidth percent 99
inserthostname-here(config-pmap-c)#int g0/0
inserthostname-here(config-if)#service-policy output test
!No error, this time, and . . .
inserthostname-here#sh policy-map interface g0/0 output
GigabitEthernet0/0
Service-policy output: test
Class-map: test (match-any)
27 packets, 2762 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: any
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 27/2762
bandwidth 99% (990000 kbps)
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: any
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
!BTW, there's always a class-default, even if not explictly defined
!And, if you were wondering what the above's interface config looks like . . .
inserthostname-here#sh run | sec 0/0
interface GigabitEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip ospf network point-to-point
ip ospf 10 area 10
duplex auto
speed auto
media-type rj45
service-policy output test
Possibly max-reserved-bandwidth still does something post HQF, or perhaps this is just a documentation error. But, pre-HQF, just like the above 100% allocation, if you tried to not leave class-default with 25%, you would get an error. Sometimes, depending on my CBWFQ policy, I did use to use a max-reserved-bandwidth, of 100%, so I could allow class-default less than 25%.
Since HQF, other than the 1% issue, seen above, I've never had to explicitly use max-reserved-bandwidth.
Anyway, I've given you a helpful bump because you're read the documentation, read these replies, and noted the discrepancy between them!
[edit - PS]
Being curious, I wondered what impact using max-reserved-bandwidth, might make, on the interface.
Tried it on my CML g0/0 interface, as above, it's an unknown command!
inserthostname-here(config-if)#m?
mac-address media-proxy media-type metadata
mop mpls mtu
09-20-2023 03:45 AM
Thanks for your feedback. Very useful.
I tried to configure the reserved bandwidth as well and the option is not available.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide